summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Grundmann <sg2342@googlemail.com>2015-05-19 03:19:02 +0000
committerStefan Grundmann <sg2342@googlemail.com>2015-05-19 03:19:02 +0000
commitb9778401c24ad3aeb990c80e84bc9b2aac3238e9 (patch)
treee541861c3eafec3bdc43e98cdd100a6ecc8c7116 /src
parent758920f4a4fe8f551e22d84799ce080b0d5162ce (diff)
io_lib:format/2 will throw badarg when trying to print rebar_resource:resource() as string
Diffstat (limited to 'src')
-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}) ->