dd
This commit is contained in:
1 parent
04db88723f
commit
d1c3873269
1 file changed
+1
-1
@@ -682,7 +682,7 @@ func ResponseNotFound404UriNotExist(w http.ResponseWriter, r *http.Request) {
|
||||
ResponseStatusOK204NoContent(w)
|
||||
return
|
||||
}
|
||||
//log.Errorf("r.Method:%s, r.URL:%s", r.Method, r.URL)
|
||||
log.Errorf("r.Method:%s, r.URL:%s", r.Method, r.URL)
|
||||
errorMessage := ErrorMessage{"1", "the requested URI does not exist"}
|
||||
errorResponse := ErrorResponse{errorMessage}
|
||||
ResponseWithJson(w, http.StatusNotFound, errorResponse)
|
||||
|
||||
Reference in new issue
Block a user