Skip to content

Commit

Permalink
Removed a print statement
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Sep 20, 2017
1 parent f6665f1 commit 21837b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cube/cube.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func MiddlewareWithConfig(config Config) echo.MiddlewareFunc {
length := runtime.Stack(stack, false)
cr.Error = err.Error()
cr.StackTrace = string(stack[:length])
println(c.Response().Status)
if c.Response().Status == http.StatusOK {
c.Response().Status = http.StatusInternalServerError
}
Expand Down

0 comments on commit 21837b0

Please sign in to comment.