Guidance around handling MessagingEntityDisabledException
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
I'm looking for documentation / guidance around handling MessagingEntityDisabledException, or in lieu of guidance, perhaps a request for feature enhancement.
**Our Scenario:**
We have a few Azure functions deployed to Azure that are subscribed to topics. Said topics have been intentionally disabled while we are migrating related systems and doing some testing. Those functions also have http endpoints that we require to be operational so disabling the entire function is not ideal. As a result, the functions are throwing exceptions for the disabled topics.
Is there any way to handle these exceptions gracefully? Ideally, the function would simply emit a warning log entry rather than throw an exception.
Because topics can be disabled, and there is first class support for doing so, it's not really an "exceptional case." It should be anticipated and handled.
Thus far, I've not been able to find any place to intercept the exceptions or otherwise prevent them, short of enabling the topics. Do I have any other options?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.