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

Better error handling for invalid JSON #16

Open
jh3y opened this issue Apr 27, 2020 · 0 comments
Open

Better error handling for invalid JSON #16

jh3y opened this issue Apr 27, 2020 · 0 comments
Assignees

Comments

@jh3y
Copy link
Owner

jh3y commented Apr 27, 2020

Issue summary

If I have invalid JSON, kody tells me it can't find any tasks but doesn't inform me that my .kodyrc file is invalid 🤦

Expected behavior

More descriptive error handling where I'm told that the JSON is invalid

Actual behavior

Fails telling me there's an issue with .kodyrc which makes me question whether my node version is compatible etc.

Steps to reproduce

Create an invalid JSON file with say a missing comma as the .kodyrc file

@jh3y jh3y self-assigned this Apr 27, 2020
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