Save exceptions to local file
OmarHatem committed
Nov 24, 2022 at 16:27 UTC
34746c31c8848fa17ec54152b55d09e95aebf72d
1 file changed
+1
lib/main.dart
+1
@@ -154,6 +154,7 @@ Future<void> main() async {
154
initialMigrationVersion: 17);
155
runApp(App());
156
}, (error, stackTrace) {
157
+ _saveException(error.toString(), stackTrace);
158
runApp(MaterialApp(
159
debugShowCheckedModeBanner: true,
160
home: Scaffold(