How to understand xmpp errors returned?
I am trying to connect to a xmpp server and I see the debug message:
[xmpp] Got an error from XMPP server.
However I cannot see this error message to understand the nature of the problem. Do you have any idea to inspect the returned error from the xmpp server?
Thanks!
Hello. First this message is emited here. I have to admit that I neglected error handling in the xmpp module because i rarely got one.
Also while I still use i2x, I don't programm with nodejs anymore and don't update the dependencies which might cause some compatibility issues with the npm packages.
As a first tipp I'd suggest changing the line I linked so it outputs the stanza with the error. Hope it helps.