diff --git a/src/components/Compiler/Worker/Plugins/CustomCommands/generateSchemas.ts b/src/components/Compiler/Worker/Plugins/CustomCommands/generateSchemas.ts index 2f74b813b..c5d989b77 100644 --- a/src/components/Compiler/Worker/Plugins/CustomCommands/generateSchemas.ts +++ b/src/components/Compiler/Worker/Plugins/CustomCommands/generateSchemas.ts @@ -56,7 +56,9 @@ export async function generateCommandSchemas() { v1CompatMode ) - await command.load(jsRuntime, filePath, 'client') + await command.load(jsRuntime, filePath, 'client').catch((err) => { + console.error(`Failed to load command "${filePath}": ${err}`) + }) schemas.push(...command.getSchema()) },