This commit is contained in:
Horis
2024-03-13 20:54:25 +08:00
parent b027b6a55b
commit a4bcd866f3
@@ -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>()
}
}