This commit is contained in:
Horis 2024-03-13 20:54:25 +08:00
parent 81d312d808
commit d5a581f75b

View File

@ -6,8 +6,12 @@ package io.legado.app.exception
open class NoStackTraceException(msg: String) : Exception(msg) {
override fun fillInStackTrace(): Throwable {
stackTrace = emptyArray()
stackTrace = emptyStackTrace
return this
}
companion object {
private val emptyStackTrace = emptyArray<StackTraceElement>()
}
}