diff --git a/packages/runner/_run.ts b/packages/runner/_run.ts index da5846a..1d8aba5 100644 --- a/packages/runner/_run.ts +++ b/packages/runner/_run.ts @@ -29,8 +29,15 @@ async function run(config: object) { for (const actionConfig of config.actions) { + let ActionClass + // resolve action class - const ActionClass = await import(resolveActionClass(actionConfig.class)) + try { + ActionClass = await import(resolveActionClass(actionConfig.class)) + } catch(error) { + logger(config.slug).error('runner / resolve action class / ' + error) + continue + } // options are exists, add to docket if (actionConfig.hasOwnProperty('options')) {