Skip to content

Commit 064466b

Browse files
committedApr 20, 2015
Fixed a typo
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 8a2f19f commit 064466b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎echo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func New() (e *Echo) {
108108
e.HTTPErrorHandler(func(err error, c *Context) {
109109
if err != nil {
110110
// 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"))
112112
http.Error(c.Response, err.Error(), http.StatusInternalServerError)
113113
}
114114
})

‎response.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (r *response) Header() http.Header {
2323
func (r *response) WriteHeader(n int) {
2424
if r.committed {
2525
// TODO: Warning
26-
log.Printf("echo: %s", color.Yellow("echo: response already committed"))
26+
log.Printf("echo: %s", color.Yellow("response already committed"))
2727
return
2828
}
2929
r.status = n

0 commit comments

Comments
 (0)
Please sign in to comment.