From c6c5a951d84ade751532b31e825e89e1b555de74 Mon Sep 17 00:00:00 2001 From: Jack Kleeman Date: Sat, 13 Jul 2024 12:05:33 +0200 Subject: [PATCH] Warn when client goes away --- internal/state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/state/state.go b/internal/state/state.go index dfdd4cd..fa20bee 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -288,7 +288,7 @@ The journal entry at position %d was: return case *wire.SuspensionPanic: if m.ctx.Err() != nil { - // the http2 request has been cancelled; just return because we can't send a response + m.log.WarnContext(m.ctx, "Cancelling invocation as the incoming request was cancelled") return } if stderrors.Is(typ.Err, io.EOF) {