mirror of
https://github.com/labstack/echo.git
synced 2025-04-25 12:24:55 +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)
|
stack := make([]byte, config.StackSize)
|
||||||
length := runtime.Stack(stack, !config.DisableStackAll)
|
length := runtime.Stack(stack, !config.DisableStackAll)
|
||||||
println(config.DisablePrintStack)
|
|
||||||
if !config.DisablePrintStack {
|
if !config.DisablePrintStack {
|
||||||
c.Logger().Printf("[%s] %s %s", color.Red("PANIC RECOVER"), err, stack[:length])
|
c.Logger().Printf("[%s] %s %s", color.Red("PANIC RECOVER"), err, stack[:length])
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user