Skip to content

Commit 14aacaa

Browse files
committed
update code snippets
1 parent 7d0ebfe commit 14aacaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/dart/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Verify that your app is sending events to Sentry by adding the following snippet
6868
import 'package:sentry/sentry.dart';
6969
7070
try {
71-
aMethodThatMightFail();
71+
throw Exception('Sentry Test Error');
7272
} catch (exception, stackTrace) {
7373
await Sentry.captureException(
7474
exception,

0 commit comments

Comments
 (0)