-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
Description
Describe the bug
An exception in an activity results in a non-deterministic error.
Investigative information
- Durable Functions extension version: 2.0.0
- durable-functions npm module version: 1.3.1
- Language (JavaScript/TypeScript) and version: JS
- Node.js version: 10.16.3
To Reproduce
Steps to reproduce the behavior:
- Clone this repo: https://github.com/anthonychu/test-durable-js
-
npm i func extensions install cp local.settings.SAMPLE.json local.settings.json # Add storage connection string to local.settings.json func start
- Call
http://localhost:7071/api/orchestrators/OrchestratorWithBadActivity
to start the orchestrator that calls an activity that throws an exception. - Get the
statusQueryGetUri
in the response and use it to check the status. I think it should show the actual error, but instead it shows a non-deterministic error:{ "name": "OrchestratorWithBadActivity", "instanceId": "4db326c0a2d34fdbad47cf134e6ddf1c", "runtimeStatus": "Failed", "input": null, "customStatus": null, "output": "Non-Deterministic workflow detected: TaskScheduledEvent: 0 TaskScheduled BadActivity", "createdTime": "2019-11-20T22:27:37Z", "lastUpdatedTime": "2019-11-20T22:27:38Z" }
antempus