Print out stack trace with when error occurs
dinever opened this issue · comments
Peixuan Ding commented
It would be great if someone could add some code here to enable stack trace logging for debugging.
And it would be great if stack trace can be printed on the error page, like this:
Peixuan Ding commented
Referred some code from Gin. Now the RecoverMiddleware
prints out the stack trace. However, we still need to show stack trace directly on the error page.