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

Improve error message at makeRequire() #1161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

barahilia
Copy link
Contributor

Previous error message 'Invalid require call' did not shed light on error's nature and wasn't helpful with bug localization.
Added to the message the module name and hint for what should be done.
Minor code reordering for the other error message in the same function.

Previous error message 'Invalid require call' did not shed light on error's nature and wasn't helpful with bug localization.
Added to the message the module name and hint for what should be done.
Minor code reordering for the other error message in the same function.
@jrburke jrburke added this to the 2.1.15 milestone Aug 23, 2014
@jrburke jrburke removed this from the 2.1.15 milestone Sep 7, 2014
@mrclay
Copy link

mrclay commented Jun 8, 2015

LGTM for what it's worth

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

Successfully merging this pull request may close these issues.

None yet

3 participants