mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-18 17:33:03 +08:00
Generate a random uuid for each user for Sentry
This way, we know if one particular user has lots of errors. Firebase Crashlytics used to do this automatically, I think.
This commit is contained in:
@ -62,6 +62,9 @@ Future<Event> get _environmentEvent async {
|
||||
build: packageInfo.buildNumber,
|
||||
),
|
||||
),
|
||||
userContext: User(
|
||||
id: Settings.instance.pseudoId,
|
||||
),
|
||||
);
|
||||
return environment;
|
||||
}
|
||||
|
Reference in New Issue
Block a user