mirror of https://github.com/msantos/xmppipe
Exit on connection failure
No point shutting down nicely if the connection has failed: exit immediately and print out an error. The error is the same whether the connection has failed due to a DNS lookup, TCP connection or authentication failure. Running in debug mode can show the reason for failure. libstrophe has an enum indicating the connection state; maybe this can be used for better error reporting.pull/1/head
parent
353951298e
commit
c983814007
Loading…
Reference in New Issue