This commit is contained in:
Sorunome 2020-03-28 10:50:06 +01:00
parent 560acb9503
commit 505a7114ec
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 4 additions and 1 deletions

View File

@ -186,7 +186,10 @@ export class Skype {
client.on("error", async (err: Error) => {
log.error("Error when polling");
log.error(err.name);
log.error(err.cause.name);
const errr = err as any;
if (errr.cause) {
log.error(errr.cause.name);
}
log.error(err.body);
log.error(err);
if (err.name === "UnexpectedHttpStatus") {