Skip to content

Error Handling in Fan-Out / Fan-In Pattern #1975

Answered by cgillum
PaulKruger asked this question in Q&A
Discussion options

You must be logged in to vote

The error handling experience for fan-out/fan-in in Durable Functions is the same as it would be for a normal C# app since Durable Functions are just using C# tasks for orchestration.

Is it the case that an error is still output into the logs when it is thrown in an activity function yet marshalled in an orchestration function?

Yes, we log activity function errors immediately after an activity fails, regardless of whether the orchestration attempts to handle the exception. If the orchestration doesn't handle the exception, then you'll see a second error message in the logs, this time for the orchestrator function itself.

if I remove the try/catch, the issue reports to the logs and all …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PaulKruger
Comment options

Answer selected by PaulKruger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants