Merge pull request #98 from ente-io/crash-sentry-id-tagging

attach userID to sentry crash report
This commit is contained in:
Abhinav Kumar 2022-11-10 17:04:44 +05:30 committed by GitHub
commit 9cf868f90c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,7 @@ export function initSentry(): void {
release: RELEASE_VERSION,
environment: isDev ? 'development' : 'production',
});
Sentry.setUser({ id: getSentryUserID() });
}
export function logErrorSentry(