Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Improve logging when workflow names are misconfigured #61

Open
stephaneey opened this issue Aug 9, 2020 · 0 comments
Open

Improve logging when workflow names are misconfigured #61

stephaneey opened this issue Aug 9, 2020 · 0 comments

Comments

@stephaneey
Copy link

Issue #60 describes the problem. I went through the sample but renamed the workflow file for some reason. Instead of calling it workflow1.json (thus ending up with the following URL http://localhost:3500/v1.0/invoke/workflows/method/workflow1), I named it wf.json but didn't realize the URL should have been http://localhost:3500/v1.0/invoke/workflows/method/wf. Logging was enabled but nothing was reported other than getting a 400 (Bad Request) error code.

Ideally, for such issues:

  • Some extra logging info should be available
  • Instead of a 400 for this particular case, a 404 would be more appropriate since it didn't find the workflow1.

Best Regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant