Closed kukume closed 1 month ago
尝试为 OneBotBotImpl.kt#L429 https://github.com/simple-robot/simbot-component-onebot/blob/1b4cc2a32208cc300e0655aadd6e0395f6d3fa09/simbot-component-onebot-v11/simbot-component-onebot-v11-core/src/commonMain/kotlin/love/forte/simbot/component/onebot/v11/core/bot/internal/OneBotBotImpl.kt#L429
捕获 CancellationException
来避免其产生异常而导致 launch
意外终止,然后尝试一下是否可行
try to reconnect when websocket is disconnected