|
Is there a way to catch exceptions across all async route handlers (without putting a try/catch in each)? I've tried wiring up to |
Answered by
jchristn
Jun 30, 2024
Replies: 1 comment 3 replies
|
Hi @nomadeon at this point there is not; there are default pages that can be configured by status, but I'm not sure that will meet your needs. Would you prefer something that allowed you to attach an exception event handler to every subordinate route within the routing group? Something like that is feasible. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @nomadeon thanks for the suggestion, just implemented this in NuGet v6.2.0. Please let me know what you think.