mirror of
https://github.com/plantroon/mx-puppet-xmpp.git
synced 2024-11-10 13:31:41 +00:00
add some more logging
This commit is contained in:
parent
fe31f07830
commit
2610b20b2c
@ -195,6 +195,7 @@ export class Client extends EventEmitter {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
// contact not found
|
// contact not found
|
||||||
log.debug("No such contact found");
|
log.debug("No such contact found");
|
||||||
|
log.debug(err.body || err);
|
||||||
this.contacts.set(fullId, null);
|
this.contacts.set(fullId, null);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -226,6 +227,7 @@ export class Client extends EventEmitter {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
// conversation not found
|
// conversation not found
|
||||||
log.debug("No such conversation found");
|
log.debug("No such conversation found");
|
||||||
|
log.debug(err.body || err);
|
||||||
this.conversations.set(id, null);
|
this.conversations.set(id, null);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user