mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Make error message more descriptive
This commit is contained in:
parent
a4eceba505
commit
7bd8cbd8d9
1 changed files with 3 additions and 1 deletions
|
@ -235,7 +235,9 @@ remember_cwd_subdir(Cwd, Subdirs) ->
|
|||
?DEBUG("Associate sub_dir ~s with ~s~n", [Dir, Cwd]),
|
||||
dict:store(Dir, Cwd, Dict);
|
||||
{ok, Existing} ->
|
||||
?ABORT("sub_dir ~s already associated with ~s~n",
|
||||
?ABORT("Internal consistency assertion failed.~n"
|
||||
"sub_dir ~s already associated with ~s.~n"
|
||||
"Duplicate sub_dirs or deps entries?",
|
||||
[Dir, Existing]),
|
||||
Dict
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue