mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
update code for go version 1.24
This commit is contained in:
@@ -96,7 +96,7 @@ func DefaultErrorHandler(ctx *context.Context, err error) {
|
||||
unauthorize(ctx, e.AuthenticateHeader, e.AuthenticateHeaderValue, e.Code)
|
||||
default:
|
||||
// This will never happen.
|
||||
ctx.StopWithText(http.StatusInternalServerError, "unknown error: %v", err)
|
||||
ctx.StopWithText(http.StatusInternalServerError, fmt.Sprintf("unknown error: %v", err))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user