question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception in client function causes function host to restart.

See original GitHub issue

As 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:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fabiocavcommented, Mar 13, 2019

as your unwillingness to improve the product

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?

1reaction
sadgitcommented, Mar 11, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found