diff options
Diffstat (limited to 'src/rebar_prv_update.erl')
-rw-r--r-- | src/rebar_prv_update.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl index 6dde024..1744631 100644 --- a/src/rebar_prv_update.erl +++ b/src/rebar_prv_update.erl @@ -73,8 +73,8 @@ do(State) -> ?PRV_ERROR({package_parse_cdn, CDN}) end catch - _E:C -> - ?DEBUG("Error creating package index: ~p ~p", [C, erlang:get_stacktrace()]), + ?WITH_STACKTRACE(_E, C, S) + ?DEBUG("Error creating package index: ~p ~p", [C, S]), throw(?PRV_ERROR(package_index_write)) end. |