From 9d73d7ce8abb9b2049de489f76e9b79fbf1770f5 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 15 Aug 2013 10:37:43 -0700 Subject: spam abort() messages to stderr as well --- src/postamble.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/postamble.js') 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; -- cgit v1.2.3-18-g5258