3
0

upd(all): return error on parsing json body

This commit is contained in:
Tit Petric
2018-09-04 10:13:37 +02:00
parent ec2213bf61
commit ffa5f9995d
9 changed files with 52 additions and 52 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func ({self} *{name|expose}{call.name|capitalize}) Fill(r *http.Request) error {
case err == io.EOF:
err = nil
case err != nil:
err = errors.Wrap(err, "error parsing http request body")
return errors.Wrap(err, "error parsing http request body")
}
}