Improve invalid attachment locator handling
This commit is contained in:
parent
69ac276d0c
commit
a384b40e63
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue