Skip to content

Commit

Permalink
Throwing errors that happen in worker so process stops
Browse files Browse the repository at this point in the history
  • Loading branch information
krynble committed Jun 1, 2022
1 parent ef26539 commit d46fbfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/commands/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ export class Worker extends Command {
process.exit(2);
} else {
logger.error('Error from queue: ', error);
throw error;
}
});

Expand Down

0 comments on commit d46fbfe

Please sign in to comment.