diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidClient.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidClient.kt index 741ea8f5a..181ebf761 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidClient.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/QQAndroidClient.kt @@ -139,6 +139,9 @@ internal open class QQAndroidClient( throw it } }.getOrElse { + if (it is LoginFailedException) { + throw it + } bot.client.serverList.addAll(DefaultServerList) throw NoServerAvailableException(it) }