Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Assets/Plugins/StreamChat/Libs/Websockets/WebsocketClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,14 @@ await TryCloseAndDisposeAsync(WebSocketCloseStatus.ProtocolError,
{
LogExceptionIfDebugMode(exception);
}
else if (exception is TimeoutException)
{
// A connection-attempt timeout (see the timeout guard in ConnectAsync)
// is an expected, transient failure that the reconnect flow recovers
// from. Log it as a warning rather than surfacing it as an exception,
// so it does not flood crash reporting with handled, non-actionable noise.
_logs.Warning(exception.ToString());
}
else
{
_logs.Exception(exception);
Expand Down
Loading