Closed
Description
Description
All errors from the server to the client are now "Internal server error" with "server.Debug = true", it used to be detailed error messages, which were very useful in debugging.
Checklist
- [ x ] Dependencies installed
- [ x ] No typos
- [ x ] Searched existing issues and docs
Expected behaviour
Detailed error messages.
Actual behaviour
Only the error type is shown.
Steps to reproduce
Cause an error with "Debug = true" set, check on the client side / browser to see the error.
Working code to debug
Something like this should do:
server := echo.New()
server.Debug = true
server.Use(mw.Recover())
server.Use(mw.Gzip())
server.Any("/*", func(c echo.Context) (err error) {
return errors.New("This is my error message")
})
Version/commit
Trunk from about 1 week ago.