mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
Try to fix CI
This commit is contained in:
parent
fd2663e60c
commit
efd864449e
1
.github/workflows/snapshots.yml
vendored
1
.github/workflows/snapshots.yml
vendored
@ -43,6 +43,7 @@ jobs:
|
||||
-Dmirai.network.show.all.components=true
|
||||
-Dkotlinx.coroutines.debug=on
|
||||
-Dmirai.network.show.packet.details=true
|
||||
-Dmirai.network.handle.selector.logging=true
|
||||
|
||||
- run: >
|
||||
./gradlew publish --info --scan
|
||||
|
@ -100,7 +100,9 @@ internal abstract class AbstractKeepAliveNetworkHandlerSelector<H : NetworkHandl
|
||||
if (current.context[SsoProcessor].firstLoginResult.value?.canRecoverOnFirstLogin == false) {
|
||||
// == null 只表示
|
||||
// == false 表示第一次登录失败, 且此失败没必要重试
|
||||
throw current.getLastFailure() ?: error("Failed to login with unknown reason.")
|
||||
logIfEnabled { "[FIRST LOGIN ERROR] current = $current" }
|
||||
logIfEnabled { "[FIRST LOGIN ERROR] current.state = ${current.state}" }
|
||||
throw current.getLastFailure() ?: exceptionCollector.getLast() ?: error("Failed to login with unknown reason.")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user