OK this time for realzies
This commit is contained in:
parent
bc3a365dea
commit
3374ed3bac
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ func HandleIncomingMessages(c echo.Context, pubsub pubsub.PubSubMessage, client
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if err == context.Canceled {
|
if err == context.Canceled {
|
||||||
// The client has disconnected. Stop trying to send messages.
|
// The client has disconnected. Stop trying to send messages.
|
||||||
|
LogInfo.Printf("Client disconnected, stopping message forwarding")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
LogError.Printf("Failed to receive message: %v", err)
|
LogError.Printf("Failed to receive message: %v", err)
|
||||||
|
|
Loading…
Add table
Reference in a new issue