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 8fa3934 commit c1bb00fCopy full SHA for c1bb00f
flutter/lib/src/integrations/on_error_integration.dart
@@ -41,6 +41,14 @@ class OnErrorIntegration implements Integration<SentryFlutterOptions> {
41
_defaultOnError = wrapper.onError;
42
43
_integrationOnError = (Object exception, StackTrace stackTrace) {
44
+ _options!.logger(
45
+ SentryLevel.error,
46
+ "Uncaught Platform Error",
47
+ logger: 'sentry.platformError',
48
+ exception: exception,
49
+ stackTrace: stackTrace,
50
+ );
51
+
52
final handled = _defaultOnError?.call(exception, stackTrace) ?? true;
53
54
// As per docs, the app might crash on some platforms
0 commit comments