Skip to content

Commit

Permalink
fix(dart): beforeSend code snippet (#11197)
Browse files Browse the repository at this point in the history
Current code snippet example doesn't compile in dart
  • Loading branch information
buenaflor authored Sep 25, 2024
1 parent dea50ac commit c62ba9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform-includes/user-feedback/sdk-api-example/dart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:sentry/sentry.dart';
SentryId sentryId = SentryId.empty();
await Sentry.init((options) {
options.beforeSend = (event, {hint}) async {
options.beforeSend = (event, hint) async {
sentryId = event.eventId;
return event;
};
Expand Down

0 comments on commit c62ba9d

Please sign in to comment.