Upgrade gin-gonic to latest master, fix compatibility issues

This commit is contained in:
Andrey Smirnov
2017-09-28 00:33:59 +03:00
parent ff8e4a8659
commit 3756db2491
282 changed files with 71226 additions and 3160 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
err = <-errCh
if err != nil {
c.Fail(500, err)
c.AbortWithError(500, err)
return
}
@@ -40,7 +40,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
requests <- dbRequest{releasedb, errCh}
err = <-errCh
if err != nil {
c.Fail(500, err)
c.AbortWithError(500, err)
}
}()