aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-27 18:30:29 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-27 18:30:29 -0700
commit3d74fe365db4ea47b673925dffea9f2dedf6efc6 (patch)
tree822121717b5565be23ce220786de2a55c2a6fca5
parentf2542d2d65de0be9e4b657a7a6c52e8165d101df (diff)
better relooper load error
-rw-r--r--src/compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js
index 06cbcd1f..e42f5e19 100644
--- a/src/compiler.js
+++ b/src/compiler.js
@@ -218,7 +218,7 @@ if (phase == 'funcs' && RELOOP) { // XXX handle !singlePhase
try {
load(RELOOPER);
} catch(e) {
- printErr('cannot find relooper at ' + RELOOPER + ', trying in current dir');
+ printErr('cannot load relooper at ' + RELOOPER + ' : ' + e + ', trying in current dir');
load('relooper.js');
}
assert(typeof Relooper != 'undefined');