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:
parent
51fa915037
commit
e37b54e73f
@ -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])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user