From e13b18621da3a011bd234257b8432ad17a0e3757 Mon Sep 17 00:00:00 2001 From: yusing Date: Wed, 15 Oct 2025 00:11:38 +0800 Subject: [PATCH] fix(favicon): add status code in error message --- internal/homepage/favicon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/homepage/favicon.go b/internal/homepage/favicon.go index 847ac6a8..269286cb 100644 --- a/internal/homepage/favicon.go +++ b/internal/homepage/favicon.go @@ -210,7 +210,7 @@ func findIconSlow(ctx context.Context, r httpRoute, uri string, stack []string) return findIconSlow(ctx, r, loc, append(stack, newReq.URL.Path)) } } - return FetchResultWithErrorf(c.status, "upstream error: %s", c.data) + return FetchResultWithErrorf(c.status, "upstream error: status %d, %s", c.status, c.data) } // return icon data if !httputils.GetContentType(c.header).IsHTML() {