From feb68b24b493f1ae64585b8455d722da2be45b04 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Fri, 13 Apr 2018 17:21:06 -0700 Subject: [PATCH] Fix lint issues in message_receiver.js --- libtextsecure/message_receiver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index f60c372409..78148357dd 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -1021,10 +1021,10 @@ MessageReceiver.prototype.extend({ if (thumbnail) { // We don't want the failure of a thumbnail download to fail the handling of // this message entirely, like we do for full attachments. - promises.push(this.handleAttachment(thumbnail).catch(function(error) { + promises.push(this.handleAttachment(thumbnail).catch((error) => { console.log( 'Problem loading thumbnail for quote', - error && error.stack ? error.stack : error, + error && error.stack ? error.stack : error ); })); }