Skip to content

Commit 2c52742

Browse files
corrected SE tag
1 parent 647b724 commit 2c52742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/sentry_setup.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ FutureOr<SentryEvent?> beforeSend(SentryEvent event, Hint? hint) async {
2929
Future<void> initSentry({required VoidCallback appRunner}) async {
3030
await SentryFlutter.init((options) {
3131
options.addIntegration(LoggingIntegration());
32+
// Ensure the se tag is added to all events
33+
options.beforeSend = beforeSend;
3234
// Core options
3335
options.dsn = dotenv.env['SENTRY_DSN'];
3436
options.enableTimeToFullDisplayTracing = true;

0 commit comments

Comments
 (0)