1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 02:17:05 +00:00

minor (see previous commit)

This commit is contained in:
Gerasimos (Makis) Maropoulos
2021-01-07 05:36:56 +02:00
parent 240fdb6dc3
commit 541fa75caf
4 changed files with 4 additions and 7 deletions

View File

@@ -8,10 +8,6 @@ import (
"github.com/kataras/iris/v12/versioning"
)
func notFoundHandler(ctx iris.Context) {
ctx.NotFound()
}
const (
v10Response = "v1.0 handler"
v2Response = "v2.x handler"

View File

@@ -244,7 +244,6 @@ func Handler(version string) context.Handler {
if err != nil {
return func(ctx *context.Context) {
ctx.StopWithError(500, err)
return
}
}