|
@@ -146,7 +146,7 @@ var rtl = {
|
|
if (!rtl.showUncaughtExceptions) {
|
|
if (!rtl.showUncaughtExceptions) {
|
|
throw re
|
|
throw re
|
|
} else {
|
|
} else {
|
|
- if (rtl.handleUncaughtException(re)) {
|
|
|
|
|
|
+ if (!rtl.handleUncaughtException(re)) {
|
|
rtl.showException(re);
|
|
rtl.showException(re);
|
|
rtl.exitcode = 216;
|
|
rtl.exitcode = 216;
|
|
}
|
|
}
|
|
@@ -165,12 +165,12 @@ var rtl = {
|
|
if (rtl.onUncaughtException) {
|
|
if (rtl.onUncaughtException) {
|
|
try {
|
|
try {
|
|
rtl.onUncaughtException(e);
|
|
rtl.onUncaughtException(e);
|
|
- return false;
|
|
|
|
|
|
+ return true;
|
|
} catch (ee) {
|
|
} catch (ee) {
|
|
- return true;
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- return true;
|
|
|
|
|
|
+ return false;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|