diff --git a/packages/cli/commands/worker.ts b/packages/cli/commands/worker.ts index 424d5c71b0a0e..cf07c190d3647 100644 --- a/packages/cli/commands/worker.ts +++ b/packages/cli/commands/worker.ts @@ -354,6 +354,7 @@ export class Worker extends Command { process.exit(2); } else { logger.error('Error from queue: ', error); + throw error; } });