Commit b13e6f56 authored by Martin Santangelo's avatar Martin Santangelo

(feat) add user id to sentry report

1 merge request!315[Sprint/LuckyLizard] (feat) implement sentry
......@@ -81,6 +81,12 @@ CookieManager.clearAll();
// On app login (runs if the user login or if it is already logged in)
sessionService.onLogin(async () => {
const user = sessionService.getUser();
Sentry.setUserContext({
userID: user.guid
});
logService.info('[App] Getting minds settings and onboarding progress');
// load minds settings and onboarding progresss on login
const results = await Promise.all([mindsService.getSettings(), stores.onboarding.getProgress()]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment