소스 검색

Improve HTTPServer validation

Stan 17 시간 전
부모
커밋
faff5b4497
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 		}