I have <log-to-eventhub
> policy at global level in API Management instance. The policy used to store the incoming request metadata in eventhub. This policy just serves the logging. Recently my eventhub was down and all API requests ended with 500 Error .
How to ensure that the request will be served irrespective of eventhub logging. that means, my policy expression evaluation should be ignored if there is an error in <log-to-eventhub>
.
Note- <on-error>
policy section can not be implemented.