mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-24 15:53:45 +08:00
Try to fix Sentry issue
I'm really not sure what is going on over here. Fixes APP-197
This commit is contained in:
@ -84,7 +84,8 @@ bool _initReportCrashes() {
|
||||
return !JournalApp.isInDebugMode && AppSettings.instance.collectCrashReports;
|
||||
}
|
||||
|
||||
Future<void> reportError(dynamic error, StackTrace stackTrace) async {
|
||||
Future<void> reportError(Object error, StackTrace stackTrace) async {
|
||||
assert(error is Exception || error is Error);
|
||||
Log.e("Uncaught Exception", ex: error, stacktrace: stackTrace);
|
||||
|
||||
if (reportCrashes) {
|
||||
|
Reference in New Issue
Block a user