Sentry: users: add authkey, username

This commit is contained in:
Lion Kortlepel
2021-08-10 11:50:03 +02:00
committed by Lion
parent f4fc182d5e
commit 8551e56e42

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);
}
}