add abortion

This commit is contained in:
Reed Allman
2017-07-26 04:37:35 -07:00
parent f9948aa4cb
commit 9cdd3befe3

View File

@@ -211,6 +211,7 @@ func panicWrap(c *gin.Context) {
err = fmt.Errorf("fn: %v", rec) err = fmt.Errorf("fn: %v", rec)
} }
handleErrorResponse(c, err) handleErrorResponse(c, err)
c.Abort()
} }
}(c) }(c)
c.Next() c.Next()