Skip to content

Commit

Permalink
fix: improve error message for unsupported diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Jun 30, 2023
1 parent 18db3a6 commit 03238b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shell/src/console/webda.ts
Expand Up @@ -787,7 +787,7 @@ ${Object.keys(operationsExport.operations)

// If diagram exists, use it
if (!DiagramTypes[type]) {
this.log("ERROR", `Diagram type '${type}' not supported`);
this.log("ERROR", `Diagram type '${type}' not supported: supported types are ${Object.keys(DiagramTypes)}`);
return -1;
}

Expand Down

0 comments on commit 03238b0

Please sign in to comment.