Sentry: users: add authkey, username

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent f4fc182d5e
commit 8551e56e42
1 file changed
+2
+2
View File
@@ -14,6 +14,8 @@ TSentry::TSentry(const std::string& SentryUrl) {
sentry_init(options);
sentry_value_t user = sentry_value_new_object();
sentry_value_set_by_key(user, "id", sentry_value_new_string(Application::Settings.Key.c_str()));
sentry_value_set_by_key(user, "username", sentry_value_new_string(Application::Settings.Key.c_str()));
sentry_value_set_by_key(user, "authkey", sentry_value_new_string(Application::Settings.Key.c_str()));
sentry_set_user(user);
}
}