0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00

send exception report if exception in saveCollectionInBackground

This commit is contained in:
Ashish Yadav 2023-06-07 23:02:25 +05:30 committed by Brayan Oliveira
parent 6534f726a7
commit 83e697210c

View File

@ -629,7 +629,7 @@ open class AnkiActivity : AppCompatActivity, SimpleMessageDialogListener, Collec
}
} catch (e: Exception) {
Timber.e(e, "Error on saving deck in background")
// TODO should this error be reported through our error reporting service?
CrashReportService.sendExceptionReport(e, "AnkiActivity:: saveCollectionInBackground")
}
}
Timber.d("saveCollectionInBackground: finished")