Update parsers

This commit is contained in:
Koitharu
2022-10-01 13:55:33 +03:00
parent e00ed13ad1
commit 627a00beb4
6 changed files with 16 additions and 16 deletions

View File

@@ -59,8 +59,8 @@ fun Throwable.isReportable(): Boolean {
return this is Error || this.javaClass in reportableExceptions
}
fun Throwable.report(message: String?) {
val exception = CaughtException(this, message)
fun Throwable.report() {
val exception = CaughtException(this, "${javaClass.simpleName}($message)")
exception.sendWithAcra()
}