Do not log reconnect packet received as an error #655
Labels
area/gateway
Related to the gateway module: websocket, reconnections, payload handling
enhancement
Improvement over an existing feature
Projects
Milestone
Feature Description: Do not log reconnect packet received as an error.
Justification: With the last Discord API updates, we now receive a lot of
Gateway client error: discord4j.common.close.CloseException: WebSocket closed: 1006 java.lang.RuntimeException: Reconnecting due to reconnect packet received
. These messages are normal, Discord4J should just reconnect as expected. However, they are logged as an error, meaning something went wrong. I think INFO should be more appropriate.The text was updated successfully, but these errors were encountered: