Skip to content

Commit d0393ba

Browse files
committed
Continue after error
1 parent d148d10 commit d0393ba

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)