Skip to content

Commit

Permalink
Fixed debug call
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <vr@labstack.com>
  • Loading branch information
vishr committed May 20, 2015
1 parent ac4d019 commit 60a377a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/middleware/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
e := echo.New()

// Debug mode
e.Debug(true)
e.SetDebug(true)

//------------
// Middleware
Expand Down
2 changes: 1 addition & 1 deletion middleware/recover_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func TestRecover(t *testing.T) {
e := echo.New()
e.Debug(true)
e.SetDebug(true)
req, _ := http.NewRequest(echo.GET, "/", nil)
w := httptest.NewRecorder()
res := &echo.Response{Writer: w}
Expand Down

0 comments on commit 60a377a

Please sign in to comment.