Skip to content

Commit

Permalink
Warn when client goes away
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkleeman committed Jul 13, 2024
1 parent 2e4c0c6 commit c6c5a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/state/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c6c5a95

Please sign in to comment.