pull/767/head
Fenny 2020-09-13 12:04:14 +02:00
parent 2951c6ac0d
commit b388617532
1 changed files with 1 additions and 1 deletions

2
app.go
View File

@ -233,7 +233,7 @@ const (
DefaultCompressedFileSuffix = ".fiber.gz"
)
// Default ErrorHandler
// Default ErrorHandler that process return errors from handlers
var DefaultErrorHandler = func(c *Ctx, err error) error {
code := StatusInternalServerError
if e, ok := err.(*Error); ok {