We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60483e0 commit 7a25973Copy full SHA for 7a25973
agent/agent.go
@@ -314,9 +314,11 @@ func (a *agent) runLoop() {
314
if ctx.Err() != nil {
315
// Context canceled errors may come from websocket pings, so we
316
// don't want to use `errors.Is(err, context.Canceled)` here.
317
+ a.logger.Warn(ctx, "exiting", slog.Error(ctx.Err()))
318
return
319
}
320
if a.isClosed() {
321
+ a.logger.Debug(ctx, "closed")
322
323
324
if errors.Is(err, io.EOF) {
0 commit comments