We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a2f19f commit 064466bCopy full SHA for 064466b
echo.go
@@ -108,7 +108,7 @@ func New() (e *Echo) {
108
e.HTTPErrorHandler(func(err error, c *Context) {
109
if err != nil {
110
// TODO: Warning
111
- log.Printf("echo: %s", color.Yellow("HTTP error handler not registered"))
+ log.Printf("echo: %s", color.Yellow("http error handler not registered"))
112
http.Error(c.Response, err.Error(), http.StatusInternalServerError)
113
}
114
})
response.go
@@ -23,7 +23,7 @@ func (r *response) Header() http.Header {
23
func (r *response) WriteHeader(n int) {
24
if r.committed {
25
26
- log.Printf("echo: %s", color.Yellow("echo: response already committed"))
+ log.Printf("echo: %s", color.Yellow("response already committed"))
27
return
28
29
r.status = n
0 commit comments