Skip to content

Commit

Permalink
perf: 优化异常显示
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Dec 6, 2023
1 parent 3c49b60 commit 5a38217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

Expand Down

0 comments on commit 5a38217

Please sign in to comment.