aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-19 07:40:19 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-02-19 07:40:19 -0800
commit044edf0a64be1880ad4f681909cd82475a3ab133 (patch)
treec70d2e0e7c127d555e8067fecfecf9d9a14fe8d6
parent805741f649cc0d1b505616a9f518ca6718221ff4 (diff)
notify on unexpected exceptions being thrown and the lack of support for them. fixes #856
-rw-r--r--src/library.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 4ebec526..900b3fee 100644
--- a/src/library.js
+++ b/src/library.js
@@ -5082,6 +5082,7 @@ LibraryManager.library = {
},
__cxa_call_unexpected: function(exception) {
+ Module.printErr('Unexpected exception thrown, this is not properly supported - aborting');
ABORT = true;
throw exception;
},