mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Fix crashes in queue mode (#3397)
* Add catch block to avoid crashes when running in queue mode * Throwing errors that happen in worker so process stops
This commit is contained in:
@@ -354,6 +354,7 @@ export class Worker extends Command {
|
||||
process.exit(2);
|
||||
} else {
|
||||
logger.error('Error from queue: ', error);
|
||||
throw error;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user