Fix logging typo

This commit is contained in:
Quentin Hibon 2021-09-23 23:07:51 +02:00 committed by GitHub
parent 1913752fa0
commit 9d38470046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -244,7 +244,7 @@ async function _runJob(job?: AttachmentDownloadJobType): Promise<void> {
if (currentAttempt >= 3) {
logger.error(
`_runJob: ${currentAttempt} failed attempts, marking attachment ${id} from message ${logId} as permament error:`,
`_runJob: ${currentAttempt} failed attempts, marking attachment ${id} from message ${logId} as permanent error:`,
error && error.stack ? error.stack : error
);