git » sdk » commit 3ac3085

Log this possible failure

author Stephen Paul Weber
2023-11-20 19:31:50 UTC
committer Stephen Paul Weber
2023-11-20 19:31:50 UTC
parent c40b0ef8ef1a54c8388a4a8e870ecff77d7af0df

Log this possible failure

xmpp/Client.hx +1 -0

diff --git a/xmpp/Client.hx b/xmpp/Client.hx
index 420ad01..185b14f 100644
--- a/xmpp/Client.hx
+++ b/xmpp/Client.hx
@@ -215,6 +215,7 @@ class Client extends xmpp.EventEmitter {
 					try {
 						chat.jingleSessions.set(session.sid, session.initiate(stanza));
 					} catch (e) {
+						trace("Bad session-inititate", e);
 						chat.jingleSessions.remove(session.sid);
 					}
 				} else {