mirror of
https://github.com/gkd-kit/gkd.git
synced 2024-11-16 03:32:38 +08:00
perf: 优化异常显示
This commit is contained in:
parent
3c49b60924
commit
5a38217c5c
|
@ -33,7 +33,7 @@ fun CoroutineScope.launchTry(
|
|||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
LogUtils.d(e)
|
||||
ToastUtils.showShort(e.message)
|
||||
ToastUtils.showShort(e.message ?: e.stackTraceToString())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user