1
0
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:
Gerasimos (Makis) Maropoulos
2017-03-03 04:54:18 +02:00
parent 97b9d56e56
commit 1f5a274cae
3 changed files with 18 additions and 23 deletions

View File

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