We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is my middlewares:
middleware.Recover(), middleware.TimeoutWithConfig(middleware.TimeoutConfig{ Skipper: func(c echo.Context) bool { return strings.HasPrefix(c.Request().RequestURI, "/debug/pprof/") }, ErrorMessage: "timeout", Timeout: 10 * time.Second, }),
after I add timeout middleware, log cannot show where panic occurs, the stack output always be like :
If I remove timeout middleware, log shows where panic occurs. the stack output is:
I wonder how can Recover() print panic stack correctly while using both Recover() and Timeout()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is my middlewares:
after I add timeout middleware, log cannot show where panic occurs, the stack output always be like :
If I remove timeout middleware, log shows where panic occurs. the stack output is:
I wonder how can Recover() print panic stack correctly while using both Recover() and Timeout()
The text was updated successfully, but these errors were encountered: