Skip to content

Commit 5de9bf0

Browse files
committedJan 2, 2020
Continue after error
1 parent d0393ba commit 5de9bf0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎easycoder/plugins/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ const EasyCoder_Browser = {
11111111
eventTarget.targetRecord.index = eventTarget.targetIndex;
11121112
setTimeout(function () {
11131113
EasyCoder.timestamp = Date.now();
1114-
let p = EasyCoder.scripts[eventTarget.targetRecord.program]
1114+
let p = EasyCoder.scripts[eventTarget.targetRecord.program];
11151115
p.run(eventTarget.targetPc);
11161116
}, 1);
11171117
}

‎easycoder/plugins/rest.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ const EasyCoder_Rest = {
140140
if (command.onError) {
141141
program.errorMessage = `Exception trapped: ${error}`;
142142
program.run(command.onError);
143-
program.run(command.pc + 1);
144143
} else {
145144
program.runtimeError(command.lino, `Error: ${error}`);
146145
}

0 commit comments

Comments
 (0)
Please sign in to comment.