Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/platforms/flutter/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Verify that your app is sending events to Sentry by adding the following snippet
import 'package:sentry/sentry.dart';

try {
aMethodThatMightFail();
throw Exception('Sentry Test Exception');
} catch (exception, stackTrace) {
await Sentry.captureException(
exception,
Expand Down
2 changes: 1 addition & 1 deletion platform-includes/capture-error/dart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In Dart you can capture any exception object that you caught:
import 'package:sentry/sentry.dart';

try {
aMethodThatMightFail();
throw Exception('Sentry Test Exception');
} catch (exception, stackTrace) {
await Sentry.captureException(
exception,
Expand Down
Loading