Template
1
0
Fork 0

OK this time for realzies

This commit is contained in:
Atridad Lahiji 2024-05-09 01:28:11 -06:00
parent bc3a365dea
commit 3374ed3bac
No known key found for this signature in database

View file

@ -102,6 +102,7 @@ func HandleIncomingMessages(c echo.Context, pubsub pubsub.PubSubMessage, client
if err != nil {
if err == context.Canceled {
// The client has disconnected. Stop trying to send messages.
LogInfo.Printf("Client disconnected, stopping message forwarding")
return
}
LogError.Printf("Failed to receive message: %v", err)