more logging....

This commit is contained in:
Sorunome 2020-03-28 10:49:11 +01:00
parent 0410f54df2
commit 560acb9503
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 2 additions and 0 deletions

View File

@ -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);