Skip to content

Commit

Permalink
show the error in calculate-dep-targets
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo authored Mar 24, 2020
1 parent aac4f94 commit 705f3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/calculate-dep-targets.escript
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ core_or_app(KazooRoot, AppL) ->

core_or_app(KazooRoot, AppL, []) ->
io:format('user', "failed to determine if ~s is core or dep in ~s~n", [AppL, KazooRoot]),
throw({'error', 'not_found'});
throw({'error', {'app_not_found', KazooRoot, AppL}});
core_or_app(_KazooRoot, _AppL, [Path]) ->
filename:basename(filename:dirname(Path)).

0 comments on commit 705f3c7

Please sign in to comment.