Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: log correct error on drpc connection close error (#17265)
  • Loading branch information
aaronlehmann authored Apr 6, 2025
commit 85bb248d33b74282e002e4a43746982bfcdb152c
2 changes: 1 addition & 1 deletion agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ func (a *agent) run() (retErr error) {
defer func() {
cErr := aAPI.DRPCConn().Close()
if cErr != nil {
a.logger.Debug(a.hardCtx, "error closing drpc connection", slog.Error(err))
a.logger.Debug(a.hardCtx, "error closing drpc connection", slog.Error(cErr))
}
}()

Expand Down
Loading