Fix compile error when sentry is enabled
This commit is contained in:
parent
522d7e8450
commit
4096f354df
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue