Update ensureAttachmentIsReencryptable logic

This commit is contained in:
trevor-signal 2024-10-09 12:10:08 -04:00 committed by GitHub
parent 24a71ef97d
commit e60df56500
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,10 +58,11 @@ export async function ensureAttachmentIsReencryptable(
logging.info( logging.info(
`${logId}: Unable to reencrypt attachment to original digest; must have had non-zero padding` `${logId}: Unable to reencrypt attachment to original digest; must have had non-zero padding`
); );
} } else {
logging.error(`${logId}: error when reencrypting`, toLogFormat(e)); logging.error(`${logId}: error when reencrypting`, toLogFormat(e));
} }
} }
}
return { return {
...attachment, ...attachment,