From d0e47206cc6df6e487750af5f5d753753f2546e1 Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Fri, 3 Apr 2020 13:29:48 +0100 Subject: [PATCH] Fix --- api/server/auth/auth.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/server/auth/auth.go b/api/server/auth/auth.go index e01b95a0..6fce9712 100644 --- a/api/server/auth/auth.go +++ b/api/server/auth/auth.go @@ -28,7 +28,9 @@ func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) { // Determine the namespace namespace, err := namespaceFromRequest(req) if err != nil { - w.WriteHeader(http.StatusInternalServerError) + logger.Error(err) + // w.WriteHeader(http.StatusInternalServerError) + namespace = auth.DefaultNamespace return }