mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 12:38:24 +00:00
Prevents debugger stopping multiple times
This commit is contained in:
+5
-1
@@ -43,7 +43,11 @@ void main() {
|
||||
);
|
||||
}, errorHandler);
|
||||
|
||||
FlutterError.onError = (_) => errorHandler(_.exception, _.stack);
|
||||
FlutterError.onError = (details) {
|
||||
// Prevents debugger stopping multiple times
|
||||
FlutterError.dumpErrorToConsole(details);
|
||||
errorHandler(details.exception, details.stack);
|
||||
};
|
||||
}
|
||||
|
||||
class ZapstoreApp extends ConsumerWidget {
|
||||
|
||||
Reference in New Issue
Block a user