From 2610b20b2c66748e448469047fb0b82ca8f3d664 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Thu, 23 Apr 2020 11:40:35 +0200 Subject: [PATCH] add some more logging --- src/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client.ts b/src/client.ts index ce69bc6..85f4649 100644 --- a/src/client.ts +++ b/src/client.ts @@ -195,6 +195,7 @@ export class Client extends EventEmitter { } catch (err) { // contact not found log.debug("No such contact found"); + log.debug(err.body || err); this.contacts.set(fullId, null); return null; } @@ -226,6 +227,7 @@ export class Client extends EventEmitter { } catch (err) { // conversation not found log.debug("No such conversation found"); + log.debug(err.body || err); this.conversations.set(id, null); return null; }