File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ func New() (e *Echo) {
108
108
e .HTTPErrorHandler (func (err error , c * Context ) {
109
109
if err != nil {
110
110
// TODO: Warning
111
- log .Printf ("echo: %s" , color .Yellow ("HTTP error handler not registered" ))
111
+ log .Printf ("echo: %s" , color .Yellow ("http error handler not registered" ))
112
112
http .Error (c .Response , err .Error (), http .StatusInternalServerError )
113
113
}
114
114
})
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ func (r *response) Header() http.Header {
23
23
func (r * response ) WriteHeader (n int ) {
24
24
if r .committed {
25
25
// TODO: Warning
26
- log .Printf ("echo: %s" , color .Yellow ("echo: response already committed" ))
26
+ log .Printf ("echo: %s" , color .Yellow ("response already committed" ))
27
27
return
28
28
}
29
29
r .status = n
You can’t perform that action at this time.
0 commit comments