From 560acb95039b4c977cfa2084924dedc4cef6fd09 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 28 Mar 2020 10:49:11 +0100 Subject: [PATCH] more logging.... --- src/skype.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/skype.ts b/src/skype.ts index ba09a26..54e5937 100644 --- a/src/skype.ts +++ b/src/skype.ts @@ -186,6 +186,8 @@ export class Skype { client.on("error", async (err: Error) => { log.error("Error when polling"); log.error(err.name); + log.error(err.cause.name); + log.error(err.body); log.error(err); if (err.name === "UnexpectedHttpStatus") { await this.puppet.sendStatusMessage(puppetId, "Error: " + err);