Kevin Wan 3 éve
szülő
commit
9d0b51fa26
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      rest/httpx/responses.go

+ 1 - 1
rest/httpx/responses.go

@@ -24,7 +24,7 @@ func Error(w http.ResponseWriter, err error) {
 		return
 	}
 
-	code, body := errorHandler(err)
+	code, body := handler(err)
 	if body == nil {
 		w.WriteHeader(code)
 		return