From 97c4c98a45e6b085747f7a4543fc3e3cf0544c5e Mon Sep 17 00:00:00 2001 From: Justin Israel Date: Mon, 17 Sep 2018 17:04:55 +1200 Subject: [PATCH] Fix stack function not being called with params (merge conflict) (refs #1259) --- recovery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recovery.go b/recovery.go index 000c61b4..49663824 100644 --- a/recovery.go +++ b/recovery.go @@ -56,7 +56,7 @@ func RecoveryWithWriter(out io.Writer) HandlerFunc { logger.Printf("%s\n%s%s", err, string(httprequest), reset) } else { logger.Printf("[Recovery] %s panic recovered:\n%s\n%s\n%s%s", - timeFormat(time.Now()), string(httprequest), err, stack, reset) + timeFormat(time.Now()), string(httprequest), err, stack(3), reset) } }