Skip to content

Logging or Exceptions when Durable Functions Activity Does Not Exist #301

@tyler555g

Description

@tyler555g

Pretty simple request, but not sure how simple it would be to implement.

Basically I would like some sort of feedback when you use the call_activity() method of the DurableOrchestrationContext class with a Durable Function Activity that does not exist.

import azure.functions as func
import azure.durable_functions as df

def orchestrator_function(context: df.DurableOrchestrationContext):
    logging.info("Starting Activity!")
    result = yield context.call_activity("I_Do_Not_Exist", None, None)
    logging.info("You will never see me because the code stops at the above step!")
    return result

main = df.Orchestrator.create(orchestrator_function)

Side note: I may or may not have spent an hour and a half troubleshooting an orchestrator only to realize it was a typo in the activity name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebuggabilityExperience problem debugging code.EnhancementFeature requests.P2Priority 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions