From 5146aa65b1a9fb4c5d1bb9e1c540efecaa849d4c Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Fri, 4 Apr 2025 10:56:25 -0700 Subject: [PATCH] fix: log correct error on drpc connection close error --- agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/agent.go b/agent/agent.go index 1d81fe3209e25..3c6a3c19610e3 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -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)) } }() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy