Skip to content

Commit 6aa64f6

Browse files
authored
Lower log level for unexpected WebSocket disconnects (#3002)
Closes #2998.
1 parent f1253f9 commit 6aa64f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gateway/shard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ impl Shard {
482482
self.handle_gateway_closed(data.as_ref())
483483
},
484484
Err(Error::Tungstenite(why)) => {
485-
warn!("[{:?}] Websocket error: {:?}", self.shard_info, why);
485+
info!("[{:?}] Websocket error: {:?}", self.shard_info, why);
486486
info!("[{:?}] Will attempt to auto-reconnect", self.shard_info);
487487

488488
Ok(Some(ShardAction::Reconnect(self.reconnection_type())))

0 commit comments

Comments
 (0)