#14 Fix a bug caused by a continue command inside a empty catch block

Merged
GitAdmin merged 1 commits from LInE/fix-catch-block-bug into LInE/master 4 years ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/visualUI/code_generator.js

+ 1 - 1
js/visualUI/code_generator.js

@@ -168,7 +168,7 @@ function returnsCode (command_obj, indentation) {
       ret += " " + elementExpressionCode(command_obj.variable_value_menu);
       //ret += ' ' + variableValueMenuCode(command_obj.variable_value_menu, true);
     } catch (err) {
-      continue;
+      //Empty block
     }
   }