File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,6 @@ class InstabugWidget extends StatefulWidget {
60
60
/// Note: This has no effect if [nonFatalFlutterErrors] is false.
61
61
final NonFatalExceptionLevel nonFatalExceptionLevel;
62
62
63
- /// Whether to exit the app on Flutter error.
64
- ///
65
- /// If true, the app will exit when a Flutter error occurs.
66
- final bool shouldExitOnFlutterError;
67
-
68
63
/// This widget is used to wrap the root of your application. It will automatically
69
64
/// configure both FlutterError.onError and PlatformDispatcher.instance.onError handlers to report errors to Instabug.
70
65
///
@@ -85,7 +80,6 @@ class InstabugWidget extends StatefulWidget {
85
80
this .platformErrorHandler,
86
81
this .nonFatalFlutterErrors = false ,
87
82
this .nonFatalExceptionLevel = NonFatalExceptionLevel .error,
88
- this .shouldExitOnFlutterError = false ,
89
83
}) : super (key: key);
90
84
91
85
@override
@@ -127,10 +121,6 @@ class _InstabugWidgetState extends State<InstabugWidget> {
127
121
}
128
122
129
123
FlutterError .presentError (details);
130
-
131
- if (widget.shouldExitOnFlutterError) {
132
- exit (1 );
133
- }
134
124
};
135
125
136
126
PlatformDispatcher .instance.onError = (Object error, StackTrace stack) {
You can’t perform that action at this time.
0 commit comments