From 46a343c1823a347ab56092a22b53b21483a345d3 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 11 Nov 2022 23:57:38 +0100 Subject: [PATCH] fix merge conflict relict --- server/upstream/upstream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/upstream/upstream.go b/server/upstream/upstream.go index 5704583..370c4ee 100644 --- a/server/upstream/upstream.go +++ b/server/upstream/upstream.go @@ -196,7 +196,7 @@ func (o *Options) Upstream(ctx *context.Context, giteaClient *gitea.Client) (fin if reader != nil { _, err := io.Copy(ctx.RespWriter, reader) if err != nil { - log.Printf("Couldn't write body: %s\n", err) + log.Error().Err(err).Msgf("Couldn't write body for %q", o.TargetPath) html.ReturnErrorPage(ctx, "", http.StatusInternalServerError) return true }