From 60871e31e9a96227e956cbb5f89bd1fa879af91e Mon Sep 17 00:00:00 2001 From: Simon Rozet Date: Wed, 14 May 2025 21:03:13 +0200 Subject: [PATCH] fix "upstream error" log line to include the upstream --- tsproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsproxy.go b/tsproxy.go index 017dc5b..4f9ab4e 100644 --- a/tsproxy.go +++ b/tsproxy.go @@ -243,7 +243,7 @@ func tsproxy(ctx context.Context) error { } proxy.ErrorHandler = func(w http.ResponseWriter, _ *http.Request, err error) { http.Error(w, http.StatusText(http.StatusBadGateway), http.StatusBadGateway) - logger.Error("upstream error", lerr(err)) + log.Error("upstream error", lerr(err)) } instrument := func(h http.Handler) http.Handler { -- 2.51.2