Minor cleanup

Co-authored-by: Per Brolin <per@mermaidchart.com>
This commit is contained in:
Sidharth Vinod
2023-02-20 19:28:31 +05:30
parent 8743e9e30e
commit 14c15b221a

View File

@@ -70,7 +70,7 @@ export const loadRegisteredDiagrams = async () => {
registerDiagram(id, diagram, detector);
} catch (err) {
// Remove failed diagram from detectors
log.error(`Failed to load external diagram with key ${key}. Remozing from detectors.`);
log.error(`Failed to load external diagram with key ${key}. Removing from detectors.`);
delete detectors[key];
throw err;
}