Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bug(cli): API validation errors are not displayed #12575

@dannykopping

Description

@dannykopping

I'm testing if templates with unexpected names like --help will pass validation. Fortunately they do not, and the process fails with the validation error Validation failed for tag "template_name" with value: "--help".

However, in the CLI I only see this:

$ pwd
/Users/danny/Code/coder/coder/scratch/--help
$ coder templates push
...
Encountered an error running "coder templates push"
Trace=[Usage: coder templates push [flags] [template]
Error: ]
Validation failed.

Edit: upon further inspection it seems like validation errors from the API are never displayed.

Metadata

Metadata

Labels

cliArea: CLIs3Bugs that confuse, annoy, or are purely cosmetic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions