We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8639115 commit 56c1d3eCopy full SHA for 56c1d3e
platform-includes/capture-error/flutter.mdx
@@ -13,12 +13,12 @@ If you need a custom error handling zone which also provides automatic error rep
13
This function automatically records calls to `print()` as `Breadcrumbs` and can be configured using `SentryOptions.enablePrintBreadcrumbs`.
14
15
```dart
16
-Sentry.runZonedGuarded(() {
+Sentry.runZonedGuarded(() async {
17
WidgetsBinding.ensureInitialized();
18
19
// Errors before init will not be handled by Sentry
20
21
- SentryFlutter.init(
+ await SentryFlutter.init(
22
(options) {
23
...
24
},
0 commit comments