summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-05-18 20:31:18 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-05-18 20:31:18 -0500
commita7a0f0d4b046dcd11e99b628fffc1e0f559e3db8 (patch)
treee541861c3eafec3bdc43e98cdd100a6ecc8c7116
parent758920f4a4fe8f551e22d84799ce080b0d5162ce (diff)
parentb9778401c24ad3aeb990c80e84bc9b2aac3238e9 (diff)
Merge pull request #445 from sg2342/fix-fetch-format_error
io_lib:format/2 will throw badarg when trying to print rebar_resource…
-rw-r--r--src/rebar_fetch.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_fetch.erl b/src/rebar_fetch.erl
index 0aca308..64c5380 100644
--- a/src/rebar_fetch.erl
+++ b/src/rebar_fetch.erl
@@ -72,7 +72,7 @@ format_error({failed_extract, CachePath}) ->
format_error({bad_etag, Source}) ->
io_lib:format("MD5 Checksum comparison failed for: ~s", [Source]);
format_error({fetch_fail, Source}) ->
- io_lib:format("Failed to fetch and copy dep: ~s", [Source]);
+ io_lib:format("Failed to fetch and copy dep: ~p", [Source]);
format_error({bad_checksum, File}) ->
io_lib:format("Checksum mismatch against tarball in ~s", [File]);
format_error({bad_registry_checksum, File}) ->