mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 23:20:09 +08:00
Add issue track link in contextualBugReportException
This commit is contained in:
parent
0ef0e44c73
commit
f326e9ad6f
@ -655,7 +655,7 @@ internal fun contextualBugReportException(
|
|||||||
e: Throwable? = null,
|
e: Throwable? = null,
|
||||||
additional: String = ""
|
additional: String = ""
|
||||||
): IllegalStateException {
|
): 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)
|
@OptIn(ExperimentalContracts::class)
|
||||||
|
Loading…
Reference in New Issue
Block a user