Fix stack function not being called with params (merge conflict) (refs #1259)

This commit is contained in:
Justin Israel 2018-09-17 17:04:55 +12:00 committed by GitHub
parent e7078e9dc0
commit 97c4c98a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
}