Skip to content

Commit

Permalink
Report WebSocket failures to OnConnectionUpdated handler
Browse files Browse the repository at this point in the history
  • Loading branch information
FineTralfazz committed Jun 1, 2024
1 parent e4c102b commit 03ebe2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FishyFlip/ATWebSocketProtocol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,5 +313,7 @@ private async Task ReceiveMessages(ClientWebSocket webSocket, CancellationToken
this.logger?.LogError(e, "WSS: ATError receiving message.");
}
}

this.OnConnectionUpdated?.Invoke(this, new SubscriptionConnectionStatusEventArgs(webSocket.State));
}
}

0 comments on commit 03ebe2c

Please sign in to comment.