Merge pull request #98 from ente-io/crash-sentry-id-tagging
attach userID to sentry crash report
This commit is contained in:
commit
9cf868f90c
|
@ -16,6 +16,7 @@ export function initSentry(): void {
|
|||
release: RELEASE_VERSION,
|
||||
environment: isDev ? 'development' : 'production',
|
||||
});
|
||||
Sentry.setUser({ id: getSentryUserID() });
|
||||
}
|
||||
|
||||
export function logErrorSentry(
|
||||
|
|
Loading…
Reference in a new issue