Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Verbose error logging

  • Loading branch information...
commit e37a6db03599961a06112ac33ca667acc0cc2039 1 parent 7322513
@cbas cbas authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 Client/src/main/XMPPOnDocumentStart.js
View
5 Client/src/main/XMPPOnDocumentStart.js
@@ -1,5 +1,6 @@
function XMPPOnDocumentStart ( ReceivedFragment )
{
+try {
warn( 'RECV: ' + ReceivedFragment );
var dom = new ActiveXObject( 'Msxml2.DOMDocument' );
@@ -62,4 +63,8 @@ function XMPPOnDocumentStart ( ReceivedFragment )
external.XMPP.SendXML( dom );
}
}
+} catch (error) {
+ warn("ReceivedFragment: " + ReceivedFragment);
+ warn("XMPPOnDocumentStart error: " + error.description);
+}
}
Please sign in to comment.
Something went wrong with that request. Please try again.