Skip to content

Commit

Permalink
Verbose error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdeckers committed Aug 27, 2010
1 parent 7322513 commit e37a6db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Client/src/main/XMPPOnDocumentStart.js
@@ -1,5 +1,6 @@
function XMPPOnDocumentStart ( ReceivedFragment )
{
try {
warn( 'RECV: ' + ReceivedFragment );

var dom = new ActiveXObject( 'Msxml2.DOMDocument' );
Expand Down Expand Up @@ -62,4 +63,8 @@ function XMPPOnDocumentStart ( ReceivedFragment )
external.XMPP.SendXML( dom );
}
}
} catch (error) {
warn("ReceivedFragment: " + ReceivedFragment);
warn("XMPPOnDocumentStart error: " + error.description);
}
}

0 comments on commit e37a6db

Please sign in to comment.