From 1ed684693780056c6b77b99bcc259dcb053c5f52 Mon Sep 17 00:00:00 2001 From: Francesco Ilario Date: Thu, 29 Aug 2024 10:19:50 +0200 Subject: [PATCH] Update pkg/proxy/proxy.go Co-authored-by: Alexey Kazakov --- pkg/proxy/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/proxy/proxy.go b/pkg/proxy/proxy.go index e1529b27..ce174511 100644 --- a/pkg/proxy/proxy.go +++ b/pkg/proxy/proxy.go @@ -415,7 +415,7 @@ func (p *Proxy) ensureUserIsNotBanned() echo.MiddlewareFunc { } errorResponse := func(err *crterrors.Error) error { - ctx.Logger().Error(errs.Wrap(err, "workspace list error")) + ctx.Logger().Error(errs.Wrap(err, "user ban status check error")) ctx.Response().Writer.Header().Set("Content-Type", "application/json") ctx.Response().Writer.WriteHeader(int(err.Code)) return json.NewEncoder(ctx.Response().Writer).Encode(err.Status)