Skip to content

Commit 3fb248b

Browse files
authored
Merge pull request #2477 from belltoy/master
Print actural download repo in DEBUG output
2 parents ead88ce + 07868a9 commit 3fb248b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rebar_pkg_resource.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ cached_download(TmpDir, CachePath, Pkg={pkg, Name, Vsn, _OldHash, _Hash, RepoCon
218218
?DEBUG("Version cached at ~ts is up to date, reusing it", [CachePath]),
219219
serve_from_cache(TmpDir, CachePath, Pkg);
220220
{ok, Body, NewETag} ->
221-
?DEBUG("Downloaded package, caching at ~ts", [CachePath]),
221+
?DEBUG("Downloaded package from repo ~ts, caching at ~ts", [CDN, CachePath]),
222222
maybe_store_etag_in_cache(UpdateETag, ETagPath, NewETag),
223223
serve_from_download(TmpDir, CachePath, Pkg, Body);
224224
error when ETag =/= <<>> ->

0 commit comments

Comments
 (0)