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 generation if file doesn't exist #95

Open
binarymist opened this issue Apr 18, 2022 · 0 comments
Open

Better error generation if file doesn't exist #95

binarymist opened this issue Apr 18, 2022 · 0 comments

Comments

@binarymist
Copy link

It would be good if when type was 'file' that if the file didn't exist at the path specified by defaultValue that parsed.j would be falsy so we could handle the error.

I just found this bug where if the file at path doesn't exist, nothing happens. We had to implement some hacky logic to make error handling occur. See this change.

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