Fix bull-mq retry option and exceptions not being captured for jobs (#3905)
* Fix bull-mq retry option * fix exception inside worker * add logs * fix after review
This commit is contained in:
@ -109,6 +109,10 @@ export class GmailFullSyncService {
|
||||
);
|
||||
|
||||
if (messagesToSave.length === 0) {
|
||||
this.logger.log(
|
||||
`gmail full-sync for workspace ${workspaceId} and account ${connectedAccountId} done with nothing to import.`,
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user