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

Display error message when bad config is loaded #1022

Merged
merged 1 commit into from
Jan 17, 2016

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented Jan 17, 2016

If a bad configuration file is submitted to rebar3 shell, display the
following error:

===> The configuration file submitted could not be read and will be
ignored.

And keep going otherwise rather than silently failing.

While crash-fast is usually a good mechanism, the shell so far is very
tolerant of failures from apps to boot and whatnot, so this feels
appropriate.

Fixes #1019

If a bad configuration file is submitted to rebar3 shell, display the
following error:

    ===> The configuration file submitted could not be read and will be
    ignored.

And keep going otherwise rather than silently failing.

While crash-fast is usually a good mechanism, the shell so far is very
tolerant of failures from apps to boot and whatnot, so this feels
appropriate.

Fixes erlang#1019
tsloughter added a commit that referenced this pull request Jan 17, 2016
Display error message when bad config is loaded
@tsloughter tsloughter merged commit 10948be into erlang:master Jan 17, 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