fix: Sentry and small null fix
This commit is contained in:
parent
2cd90aa615
commit
e9f3aa37dd
3 changed files with 5 additions and 3 deletions
|
|
@ -18,6 +18,8 @@ import 'views/chat_list.dart';
|
|||
void main() {
|
||||
SystemChrome.setSystemUIOverlayStyle(
|
||||
SystemUiOverlayStyle(statusBarColor: Colors.transparent));
|
||||
FlutterError.onError = (FlutterErrorDetails details) =>
|
||||
Zone.current.handleUncaughtError(details.exception, details.stack);
|
||||
runZonedGuarded(
|
||||
() => runApp(App()),
|
||||
SentryController.captureException,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue