优化
This commit is contained in:
1 parent
b027b6a55b
commit
a4bcd866f3
1 file changed
+5
-1
@@ -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