1
0
Fork 0

Fix compile error when sentry is enabled

This commit is contained in:
James Turner 2021-04-16 17:09:41 +01:00
parent 522d7e8450
commit 4096f354df

View file

@ -497,6 +497,8 @@ void sentryReportUserError(const std::string& aggregate, const std::string& deta
sentry_value_set_by_key(info, "details", sentry_value_new_string(details.c_str()));
sentry_set_context("what", info);
sentry_value_t event = sentry_value_new_event();
sentry_value_set_by_key(event, "message", sentry_value_new_string(aggregate.c_str()));
sentry_capture_event(event);