Azure / Azure/Synapse-workspace-deployment

Deployment Doesn't Give Appropriate Error When Missing Required Inputs

Open
#112 1 comment 0 reactions 0 assignees View on GitHub
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:

![Image](https://github.com/user-attachments/assets/14172573-42fb-4178-9aab-4eb80318cc2a)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.