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:
@@ -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"
|
||||
|
||||
@@ -244,7 +244,6 @@ func Handler(version string) context.Handler {
|
||||
if err != nil {
|
||||
return func(ctx *context.Context) {
|
||||
ctx.StopWithError(500, err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user