-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cirrus CI
committed
Jul 7, 2024
1 parent
11753b3
commit 68ab460
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,9 +221,9 @@ class AnalyticsHelper { | |
..dsn = | ||
'https://[email protected]/5376745' | ||
..beforeSend = ( | ||
SentryEvent event, { | ||
Hint? hint, | ||
}) async { | ||
SentryEvent event, | ||
Hint hint, | ||
) async { | ||
return event.copyWith( | ||
tags: <String, String>{ | ||
'store': GlobalVars.storeLabel.name, | ||
|
@@ -265,8 +265,10 @@ class AnalyticsHelper { | |
static bool get isEnabled => | ||
_analyticsReporting == _AnalyticsTrackingMode.enabled; | ||
|
||
static FutureOr<SentryEvent?> _beforeSend(SentryEvent event, | ||
{dynamic hint}) async { | ||
static FutureOr<SentryEvent?> _beforeSend( | ||
SentryEvent event, | ||
dynamic hint, | ||
) async { | ||
if (!_crashReports) { | ||
return null; | ||
} | ||
|