Browse Source

Merge pull request #445 from sg2342/fix-fetch-format_error

io_lib:format/2 will throw badarg when trying to print rebar_resource…
pull/447/head
Tristan Sloughter 10 years ago
parent
commit
a7a0f0d4b0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_fetch.erl

+ 1
- 1
src/rebar_fetch.erl View File

@ -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}) ->

Loading…
Cancel
Save