Exception in client function causes function host to restart.
See original GitHub issueAs a Function Developer In order to monitor failures I need to exit a function with different exit codes and to control whether a failing message is retried or dead-lettered
Expected behavior
Temporary Failure
Given V.2 Service Bus Trigger
When the client function throws an temporary execution error
Then the message should be retried
Permanent Failure
Given V.2 Service Bus Trigger
When the client function throws an permanent execution error
Then the message should be dead-lettered
Actual behavior
Given V.2 Service Bus Trigger
When the client function throws any exception
Then the function host is restarted
And the telemetry is not sent to AppInsights
Known workarounds
No known workarounds.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
c# - Function host is not running
This usually means that there is some bad configuration in your function app which is causing the host to fail to start up....
Read more >Azure Functions error handling and retry guidance
Handling errors in Azure Functions is important to help you avoid lost data, avoid missed events, and monitor the health of your application....
Read more >Troubleshoot error: Azure Functions Runtime is unreachable
This issue occurs when the Functions runtime can't start. The most common reason for this is that the function app has lost access...
Read more >Troubleshoot Cloud Functions
This error indicates that the process running your function has died. This is usually due to the runtime crashing due to issues in...
Read more >Best Practices for Graceful shutdown in Azure Functions
For serverless applications such as Azure Functions, Graceful shutdown is an important process to maintain the integrity of the application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m sorry if you’re getting this impression, but that is absolutely not the case. We have looked at your reports and followed up on them; we do need your help with repros where requested as we’re unable to validate the behavior you’re reporting. Can you please provide some help with that?
@fabiocav @mathewc - Also please re-open both #2085 #2086 #2087 as your unwillingness to improve the product reflects extremely badly on the dependability AzureFunctions as a platform.