Explorar el Código

Improve HTTPServer validation

Stan hace 17 horas
padre
commit
faff5b4497
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      http_server.go

+ 1 - 1
http_server.go

@@ -183,7 +183,7 @@ func (this *HTTPServer) ServeHTTP(responseStream http.ResponseWriter, requestStr
 		}
 
 		if !validateData(handler) {
-			this.log.Error("malformed validation failed", LogValue("path", requestStream.URL.Path), LogError(err))
+			this.log.Error("validation failed", LogValue("path", requestStream.URL.Path))
 			responseStream.WriteHeader(http.StatusNotAcceptable)
 			return
 		}