diff options
-rw-r--r-- | src/rebar_app_info.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rebar_app_info.erl b/src/rebar_app_info.erl index ce23c22..23d118f 100644 --- a/src/rebar_app_info.erl +++ b/src/rebar_app_info.erl @@ -224,7 +224,12 @@ state(#app_info_t{state=State}) -> -spec valid(t()) -> boolean(). valid(AppInfo=#app_info_t{valid=undefined}) -> - rebar_app_discover:validate_application_info(AppInfo); + try + rebar_app_discover:validate_application_info(AppInfo) + catch + _:_ -> + false + end; valid(#app_info_t{valid=Valid}) -> Valid. |