Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
188
Issues
188
List
Boards
Labels
Service Desk
Milestones
Merge Requests
25
Merge Requests
25
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
b13e6f56
Commit
b13e6f56
authored
40 minutes ago
by
Martin Santangelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) add user id to sentry report
parent
698457fd
feat/sentry
1 merge request
!315
[Sprint/LuckyLizard] (feat) implement sentry
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
App.js
App.js
+6
-0
No files found.
App.js
View file @
b13e6f56
...
...
@@ -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
()]);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment