Azure / Azure/Synapse-workspace-deployment
Deployment Doesn't Give Appropriate Error When Missing Required Inputs
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
This task doesn't always give good error responses when I am missing a required input. Instead, I get a generic error that just says:
```
deploy operation failed
Action failed -> Error: Unable to parse the secret: Error: Environment validation failed
```
I would expect it to tell me the actual input that was missing. I had to go into the source code just to find out what inputs were required for deployment and see which ones I was missing. In the source code, I see a try/catch around getting the inputs. Would it be possible to update this to tell the user which input was missing instead of the generic error?
This is the relevant section:

Contributor guide
Assessment
This issue has not been assessed yet.