Skip to content
New issue

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

Fix catch async exception on request threads #1753

Conversation

jappeace
Copy link
Contributor

@jappeace jappeace commented Mar 22, 2022

Solves this issue: #1751

Async exceptions for request threads are currently handled by warp,
it's better if yesod handles these so that we get a nice rendered error page.

Not sure if we should mask the error runners as well, but it seems rather unlikely they get an async exception.

Before submitting your PR, check that you've:

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

@snoyberg snoyberg merged commit 53936c4 into yesodweb:master Mar 24, 2022
@jezen jezen deleted the fix-catch-async-exception-on-requst-threads branch April 5, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants