diff options
Diffstat (limited to 'src/rebar_fetch.erl')
-rw-r--r-- | src/rebar_fetch.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rebar_fetch.erl b/src/rebar_fetch.erl index a7ae446..987477f 100644 --- a/src/rebar_fetch.erl +++ b/src/rebar_fetch.erl @@ -59,7 +59,12 @@ needs_update(AppDir, Source) -> {error, _}=Error -> Error; Module -> - Module:needs_update(AppDir, Source) + try + Module:needs_update(AppDir, Source) + catch + _:_ -> + true + end end. get_resource_type({Type, Location, _}) -> |