mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
add abortion
This commit is contained in:
@@ -211,6 +211,7 @@ func panicWrap(c *gin.Context) {
|
||||
err = fmt.Errorf("fn: %v", rec)
|
||||
}
|
||||
handleErrorResponse(c, err)
|
||||
c.Abort()
|
||||
}
|
||||
}(c)
|
||||
c.Next()
|
||||
|
||||
Reference in New Issue
Block a user