mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 17:42:14 +08:00
gofmt recovery changes (refs #1259)
This commit is contained in:
parent
97c4c98a45
commit
d3a05e47f2
@ -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(3), reset)
|
||||
timeFormat(time.Now()), string(httprequest), err, stack(3), reset)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"bytes"
|
||||
"net"
|
||||
"net/http"
|
||||
"os"
|
||||
"os"
|
||||
"syscall"
|
||||
"testing"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user