Improve invalid attachment locator handling

This commit is contained in:
Fedor Indutny 2025-01-08 18:23:06 -08:00 committed by GitHub
parent 69ac276d0c
commit a384b40e63
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -210,9 +210,6 @@ export class AttachmentDownloadManager extends JobManager<CoreAttachmentDownload
const logId = `AttachmentDownloadManager/addJob(${sentAt}.${attachmentType})`;
if (attachment.error && source === AttachmentDownloadSource.BACKUP_IMPORT) {
log.info(
`${logId}: skipping InvalidAttachmentLocator from backup import`
);
return attachment;
}