1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-19 10:57:05 +00:00
Former-commit-id: e83456ced3d00d6da3001d083e22a0568748298e
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-09 02:20:28 +03:00
parent 6d977dacd2
commit 46ff69e28e
4 changed files with 20 additions and 22 deletions

View File

@@ -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)
}
}()