kody icon indicating copy to clipboard operation
kody copied to clipboard

Better error handling for invalid JSON

Open jh3y opened this issue 4 years ago • 0 comments

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 avatar Apr 27 '20 15:04 jh3y