Improve exception message

This commit is contained in:
Him188 2020-05-09 17:16:24 +08:00
parent 51ced7b677
commit 6db2c23a17

View File

@ -24,7 +24,6 @@ import net.mamoe.mirai.network.closeAndJoin
import net.mamoe.mirai.utils.*
import net.mamoe.mirai.utils.internal.retryCatching
import kotlin.coroutines.CoroutineContext
import kotlin.time.Duration
import kotlin.time.ExperimentalTime
import kotlin.time.measureTime
@ -71,7 +70,7 @@ abstract class BotImpl<N : BotNetworkHandler> constructor(
}
}
}
throw NoSuchElementException()
throw NoSuchElementException(qq.toString())
}
}