From 5a38217c5c4b39451f2f16b6a7107f405d111d07 Mon Sep 17 00:00:00 2001 From: lisonge Date: Wed, 6 Dec 2023 17:08:16 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt b/app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt index 617d7f489..202a799c0 100644 --- a/app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt +++ b/app/src/main/kotlin/li/songe/gkd/util/CoroutineExt.kt @@ -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()) } }