diff --git a/context.go b/context.go index 1c76c0f6..4dac233c 100644 --- a/context.go +++ b/context.go @@ -1053,7 +1053,7 @@ func (c *Context) Render(code int, r render.Render) { if err := r.Render(c.Writer); err != nil { // Pushing error to c.Errors _ = c.Error(err) - c.Abort() + c.AbortWithStatus(500) } }