aboutsummaryrefslogtreecommitdiff
path: root/src/postamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-15 10:37:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-15 10:37:43 -0700
commit9d73d7ce8abb9b2049de489f76e9b79fbf1770f5 (patch)
tree6f66785e190c84207f88af6d0c00b746a489abaa /src/postamble.js
parent0f76b5793a07987f17e95410af843eaa7f4eb823 (diff)
spam abort() messages to stderr as well
Diffstat (limited to 'src/postamble.js')
-rw-r--r--src/postamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/postamble.js b/src/postamble.js
index c4ca3aae..08c3a9d8 100644
--- a/src/postamble.js
+++ b/src/postamble.js
@@ -127,6 +127,7 @@ Module['exit'] = Module.exit = exit;
function abort(text) {
if (text) {
Module.print(text);
+ Module.printErr(text);
}
ABORT = true;