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

log error if a module failed to load_file, the user should be aware #1321

Merged
merged 2 commits into from
Sep 15, 2016

Conversation

vans163
Copy link
Contributor

@vans163 vans163 commented Sep 3, 2016

This should log if a module failed to load for whatever reason.

Pretty important for the user to be aware if this ever happens on compile so they don't pull their hair out trying to figure out whats wrong.

Can someone review this if using ?ERROR macro is correct here?

@ferd
Copy link
Collaborator

ferd commented Sep 3, 2016

I'd rather have them be ?DEBUG macros in this case, since ?ERROR tends to be for nonrecoverable conditions.

@ferd
Copy link
Collaborator

ferd commented Sep 15, 2016

Ah, hadn't seen that the changes were made. Merging! Thanks for the work here.

@ferd ferd merged commit cba1a1f into erlang:master Sep 15, 2016
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.

2 participants