Improve invalid attachment locator handling
This commit is contained in:
@@ -210,9 +210,6 @@ export class AttachmentDownloadManager extends JobManager<CoreAttachmentDownload
|
|||||||
const logId = `AttachmentDownloadManager/addJob(${sentAt}.${attachmentType})`;
|
const logId = `AttachmentDownloadManager/addJob(${sentAt}.${attachmentType})`;
|
||||||
|
|
||||||
if (attachment.error && source === AttachmentDownloadSource.BACKUP_IMPORT) {
|
if (attachment.error && source === AttachmentDownloadSource.BACKUP_IMPORT) {
|
||||||
log.info(
|
|
||||||
`${logId}: skipping InvalidAttachmentLocator from backup import`
|
|
||||||
);
|
|
||||||
return attachment;
|
return attachment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user