Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should throw exception when a called function does not exist. #24

Closed
cgillum opened this issue Jul 25, 2017 · 1 comment
Closed

Should throw exception when a called function does not exist. #24

cgillum opened this issue Jul 25, 2017 · 1 comment
Assignees
Labels

Comments

@cgillum
Copy link
Collaborator

cgillum commented Jul 25, 2017

Today if a user calls DurableOrchestrationClient.StartNewAsync or DurableOrchestrationContext.CallFunctionAsync and specifies a function name which doesn't exist, the call fails silently.

Instead, these methods should throw an exception that can be handled/logged by user code.

@cgillum
Copy link
Collaborator Author

cgillum commented Aug 17, 2017

This is fixed in the latest release. If you try to call a function that doesn't exist, an exception will be thrown and the message will include all the active function names, making it easier to figure out what went wrong.

@cgillum cgillum closed this as completed Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant