BlueGlassBlock преди 3 години
родител
ревизия
61af6fb550
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/adapter/reverse/client/WsClient.kt

+ 1 - 1
mirai-api-http/src/main/kotlin/net/mamoe/mirai/api/http/adapter/reverse/client/WsClient.kt

@@ -54,7 +54,7 @@ class WsClient(private var log: MiraiLogger) : CoroutineScope {
                     log.error("[reverse-ws] SocketException occurred: ${e.localizedMessage}")
                 }
                 webSocketSession = null
-                log.warning { "[reverse-ws] Connection to $destination interrupted. Trying reconnect in ${destination.reconnectInterval} ms" }
+                log.warning { "[reverse-ws] Connection to ${destination.host + ":" + destination.port + destination.path } interrupted. Trying reconnect in ${destination.reconnectInterval} ms." }
                 delay(destination.reconnectInterval)
             }
         }