优化
This commit is contained in:
@@ -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>()
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user