Hi everyone,
Is there some mechanism that would allow me to run my code on error?
Here're some examples of what I need: Let's say an azure resource provider runs into some errors like:
• 429 rate limit exceeded
• 409 already exists
• a random issue I dont yet know how to handle
That I want to react on by:
• requesting and logging the remaining rate limits
• logging the resource ID, URN and parent to the filesystem so that I can import the resource before trying again (which happens to be needed for example in case of some intermittent issues on Azure)
• log it to some analytical tool