From 9d38470046b83aaa8bc623a83917a6a30a7293ef Mon Sep 17 00:00:00 2001 From: Quentin Hibon Date: Thu, 23 Sep 2021 23:07:51 +0200 Subject: [PATCH] Fix logging typo --- ts/messageModifiers/AttachmentDownloads.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/messageModifiers/AttachmentDownloads.ts b/ts/messageModifiers/AttachmentDownloads.ts index b8c888fd1..cb6deb08e 100644 --- a/ts/messageModifiers/AttachmentDownloads.ts +++ b/ts/messageModifiers/AttachmentDownloads.ts @@ -244,7 +244,7 @@ async function _runJob(job?: AttachmentDownloadJobType): Promise { 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 );