mirror of https://github.com/go-gitea/gitea.git
Don't ignore panic log
This commit is contained in:
parent
6a853d8c0c
commit
58fdadd69d
|
@ -145,7 +145,7 @@ func runServ(c *cli.Context) error {
|
|||
|
||||
defer func() {
|
||||
if err := recover(); err != nil {
|
||||
_ = fail(ctx, "Internal Server Error", "Panic: %v", err)
|
||||
_ = fail(ctx, "Internal Server Error", "Panic: %v\n%s", err, log.Stack(2))
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue