1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Removed a print statement

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-04-06 11:07:56 -07:00
parent 51fa915037
commit e37b54e73f

View File

@ -62,7 +62,6 @@ func RecoverFromConfig(config RecoverConfig) echo.MiddlewareFunc {
}
stack := make([]byte, config.StackSize)
length := runtime.Stack(stack, !config.DisableStackAll)
println(config.DisablePrintStack)
if !config.DisablePrintStack {
c.Logger().Printf("[%s] %s %s", color.Red("PANIC RECOVER"), err, stack[:length])
}