Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninformative error message on invalid fablo-config.yaml #493

Open
joaormatos opened this issue Sep 19, 2024 · 0 comments
Open

Uninformative error message on invalid fablo-config.yaml #493

joaormatos opened this issue Sep 19, 2024 · 0 comments

Comments

@joaormatos
Copy link

Hello,

I found that having a fablo-config.yaml file containing an organization with a dash (-) in its name causes some fablo commands to fail with an uninformative error message:

Critical error occured:

Steps to reproduce:

# in an empty directory with just fablo.sh
./fablo.sh init
sed -i 's/Org1/Org-one/g' fablo-config.yaml
./fablo.sh validate

Expected output: a descriptive error detailing a violation of the configuration schema.

Observed output: a single like with just Critical error occured:

This issue is probably a symptom of a more general problem regarding validation of the configuration file.

I'm using the latest version: 2.0.0

Best regards

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

No branches or pull requests

1 participant