This commit is contained in:
Ben Toogood 2020-04-03 13:29:48 +01:00
parent ed6fe67880
commit d0e47206cc

View File

@ -28,7 +28,9 @@ func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
// Determine the namespace // Determine the namespace
namespace, err := namespaceFromRequest(req) namespace, err := namespaceFromRequest(req)
if err != nil { if err != nil {
w.WriteHeader(http.StatusInternalServerError) logger.Error(err)
// w.WriteHeader(http.StatusInternalServerError)
namespace = auth.DefaultNamespace
return return
} }