Error log not initialized when loading ~/.config/rebar3/rebar.config
#1792
Labels
enhancement
new behaviour or additional functionality
minor bug
bug that does not prevent major features from working
When there is a syntax error in
~/.config/rebar3/rebar.config
,rebar3
crashes before the log is initialized, so as a user I only see a stack trace pointing to thelog
function.As an example, I had
{plugins, [{rebar3_proper, 0.9.0}]}.
in my config file (missed the quotes).I could submit a pull request with a fallback to
io:format
if the log is not initialized.Environment
rebar3 report
to your message:Without the crash (correct rebar.config)
The text was updated successfully, but these errors were encountered: