mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
优化
This commit is contained in:
parent
81d312d808
commit
d5a581f75b
|
@ -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>()
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user