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

Handle require errors better #4

Open
merlinc opened this issue Jun 12, 2017 · 0 comments
Open

Handle require errors better #4

merlinc opened this issue Jun 12, 2017 · 0 comments

Comments

@merlinc
Copy link
Contributor

merlinc commented Jun 12, 2017

We dynamically load data via resolve but we are not explicitly handling errors that occur. We should do that so we have more granularity as to what went wrong.

filename = require.resolve(path.resolve(this.basePath, filename));

@merlinc merlinc mentioned this issue Jun 12, 2017
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