Throw exception when an unknown error is caught on messaging sync (#5782)

As per title for this one ;)
This commit is contained in:
Charles Bochet
2024-06-08 22:59:59 +02:00
committed by GitHub
parent 7f9fdf3ff6
commit afac4de679

View File

@ -100,7 +100,9 @@ export class MessagingErrorHandlingService {
messageChannel.id,
workspaceId,
);
break;
throw new Error(
`Unhandled Gmail error code ${code} with reason ${reason}`,
);
}
}