Skip to content

Commit 354162d

Browse files
committedJan 2, 2020
Continue after error
1 parent 05fd2b7 commit 354162d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎easycoder/plugins/rest.js‎

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

0 commit comments

Comments
 (0)
Please sign in to comment.