Improve error logging when running a command fails
Improve error logging when running a command fails

Make the error message newline terminated and, if possible, log the name
of the module in which the failure occured.

mbbx6spp/rebar