mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-12-27 17:11:40 +00:00
more logging....
This commit is contained in:
parent
0410f54df2
commit
560acb9503
@ -186,6 +186,8 @@ export class Skype {
|
|||||||
client.on("error", async (err: Error) => {
|
client.on("error", async (err: Error) => {
|
||||||
log.error("Error when polling");
|
log.error("Error when polling");
|
||||||
log.error(err.name);
|
log.error(err.name);
|
||||||
|
log.error(err.cause.name);
|
||||||
|
log.error(err.body);
|
||||||
log.error(err);
|
log.error(err);
|
||||||
if (err.name === "UnexpectedHttpStatus") {
|
if (err.name === "UnexpectedHttpStatus") {
|
||||||
await this.puppet.sendStatusMessage(puppetId, "Error: " + err);
|
await this.puppet.sendStatusMessage(puppetId, "Error: " + err);
|
||||||
|
Loading…
Reference in New Issue
Block a user