From 2281d01d8cce9be25dff3cbbfceae7abcd26a302 Mon Sep 17 00:00:00 2001 From: Miikka Virtanen Date: Wed, 15 Feb 2017 01:10:44 +0200 Subject: [PATCH] Possibly proper fix --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 25c598a..be329e3 100644 --- a/src/index.js +++ b/src/index.js @@ -128,7 +128,7 @@ Here's what their message contained: threadInitDonePromise = memberPromise .catch(err => { console.log(`Member ${msg.author.id} not found in main guild ${config.mainGuildId}`); - console.error(err); + console.error(String(err)); }) .then(member => { const mainGuildNickname = (member != null ? (member.nick || member.username) : 'UNKNOWN');