|
@@ -114,6 +114,7 @@ public final class Script {
|
|
|
|
|
|
lineIndex++;
|
|
lineIndex++;
|
|
} catch(Exception ex) {
|
|
} catch(Exception ex) {
|
|
|
|
+ logException(ex, instr.getName(), instr.getLine());
|
|
Integer errorCallback = labels.get("on_error");
|
|
Integer errorCallback = labels.get("on_error");
|
|
if(errorCallback != null) {
|
|
if(errorCallback != null) {
|
|
setVar("error_stacktrace",
|
|
setVar("error_stacktrace",
|
|
@@ -130,7 +131,6 @@ public final class Script {
|
|
inFunction.clear();
|
|
inFunction.clear();
|
|
returnVarPop.clear();
|
|
returnVarPop.clear();
|
|
} else {
|
|
} else {
|
|
- logException(ex, instr.getName(), instr.getLine());
|
|
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|