summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-03-31 19:20:05 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-03-31 19:21:41 +0200
commit7bd8cbd8d9127327f3193413458096974972a303 (patch)
treee8e87e2e018b105366bb07bb53dbd777e1ad6cd6 /src/rebar_core.erl
parenta4eceba50584b583c761f87df26a4883260ec41b (diff)
Make error message more descriptive
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl4
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