Browse Source

ftgpm-edit: don't throw error

Joeri Exelmans 3 years ago
parent
commit
de62530d64
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/webapp/plugins/cdf/ftgpm-edit.js

+ 2 - 1
src/main/webapp/plugins/cdf/ftgpm-edit.js

@@ -153,7 +153,8 @@ Draw.loadPlugin(function(ui) {
         if (isControlFlowNode(type)) {
           return "ctrl";
         }
-        throw new Error("unknown flow type");
+        // throw new Error("unknown flow type");
+        console.log("unknown flow type");
       }
 
       // [ condition, style ]