mirror of
https://github.com/kataras/iris.git
synced 2025-12-19 10:57:05 +00:00
minor
Former-commit-id: e83456ced3d00d6da3001d083e22a0568748298e
This commit is contained in:
@@ -51,8 +51,7 @@ func New() context.Handler {
|
||||
logMessage += fmt.Sprintf("\n%s", stacktrace)
|
||||
ctx.Application().Logger().Warn(logMessage)
|
||||
|
||||
ctx.StatusCode(500)
|
||||
ctx.StopExecution()
|
||||
ctx.StopWithStatus(500)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user