Commit 6db2c23a authored by Him188's avatar Him188

Improve exception message

parent 51ced7b6
...@@ -24,7 +24,6 @@ import net.mamoe.mirai.network.closeAndJoin ...@@ -24,7 +24,6 @@ import net.mamoe.mirai.network.closeAndJoin
import net.mamoe.mirai.utils.* import net.mamoe.mirai.utils.*
import net.mamoe.mirai.utils.internal.retryCatching import net.mamoe.mirai.utils.internal.retryCatching
import kotlin.coroutines.CoroutineContext import kotlin.coroutines.CoroutineContext
import kotlin.time.Duration
import kotlin.time.ExperimentalTime import kotlin.time.ExperimentalTime
import kotlin.time.measureTime import kotlin.time.measureTime
...@@ -71,7 +70,7 @@ abstract class BotImpl<N : BotNetworkHandler> constructor( ...@@ -71,7 +70,7 @@ abstract class BotImpl<N : BotNetworkHandler> constructor(
} }
} }
} }
throw NoSuchElementException() throw NoSuchElementException(qq.toString())
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment