Add issue track link in contextualBugReportException

This commit is contained in:
Him188 2021-01-31 14:06:18 +08:00
parent 0ef0e44c73
commit f326e9ad6f

View File

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