perf: 优化异常显示

This commit is contained in:
lisonge 2023-12-06 17:08:16 +08:00
parent 3c49b60924
commit 5a38217c5c

View File

@ -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())
}
}