From f326e9ad6fecd493a3391f8468717db70e6c8257 Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 31 Jan 2021 14:06:18 +0800 Subject: [PATCH] Add issue track link in contextualBugReportException --- mirai-core/src/commonMain/kotlin/message/conversions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/message/conversions.kt b/mirai-core/src/commonMain/kotlin/message/conversions.kt index c0727730b..c3a8d10e4 100644 --- a/mirai-core/src/commonMain/kotlin/message/conversions.kt +++ b/mirai-core/src/commonMain/kotlin/message/conversions.kt @@ -655,7 +655,7 @@ internal fun contextualBugReportException( e: Throwable? = null, additional: String = "" ): IllegalStateException { - return IllegalStateException("在 $context 时遇到了意料之中的问题. 请完整复制此日志提交给 mirai. $additional 调试信息: $forDebug", e) + return IllegalStateException("在 $context 时遇到了意料之中的问题. 请完整复制此日志提交给 mirai: https://github.com/mamoe/mirai/issues/new $additional 调试信息: $forDebug", e) } @OptIn(ExperimentalContracts::class)