Skip to content
Success

Changes

Summary

  1. Change reconnect code to 4900 to avoid confusion (#1250) (commit: 0eb54b3) (details)
Commit 0eb54b329c696ae3ccc8916b4416fe5ffe90f059 by noreply
Change reconnect code to 4900 to avoid confusion (#1250)

* Change reconnect code to 4900 to avoid confusion
* And update the disconnect handling to better log things
* Make resume reconnect log on debug
* Log server error on error level
* Add catch in gateway worker
(commit: 0eb54b3)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/requests/CloseCode.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketSendingThread.java (diff)