diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-03-31 19:20:05 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-03-31 19:21:41 +0200 |
commit | 7bd8cbd8d9127327f3193413458096974972a303 (patch) | |
tree | e8e87e2e018b105366bb07bb53dbd777e1ad6cd6 | |
parent | a4eceba50584b583c761f87df26a4883260ec41b (diff) |
Make error message more descriptive
-rw-r--r-- | src/rebar_core.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 55e0c4c..9a57437 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -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 |