Skip to content

Commit

Permalink
Don't include call stack in the response
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi authored Nov 4, 2024
1 parent cf90d8b commit fae56a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static/mermaid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function render(definition, config, bgColor, size) {
if (isUnknownDiagramError(error.toString())) {
throw new Error('Unknown diagram error');
}
throw error;
throw error.message;
}
}

Expand Down

0 comments on commit fae56a6

Please sign in to comment.