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 {