mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 20:37:05 +00:00
Nothing special yet: Readme updates and gofmt -s -w . (including vendor)
Former-commit-id: b275e55b7cd90392772c49f72e8ecd644bf0634c
This commit is contained in:
@@ -196,8 +196,8 @@ func (e *ErrorHandlers) GetOrRegister(statusCode int) Handler {
|
||||
}
|
||||
ctx.SetStatusCode(statusCode)
|
||||
if _, err := ctx.WriteString(statusText[statusCode]); err != nil {
|
||||
ctx.Log(DevMode, "error from a pre-defined error handler while trying to send an http error: %s",
|
||||
err.Error())
|
||||
ctx.Log(DevMode, "(status code: %d) %s",
|
||||
err.Error(), statusCode)
|
||||
}
|
||||
})
|
||||
e.mu.Lock()
|
||||
|
||||
Reference in New Issue
Block a user