diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/isode/stroke/parser/XMPPParser.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/isode/stroke/parser/XMPPParser.java b/src/com/isode/stroke/parser/XMPPParser.java index 658ed9b..0e9b202 100644 --- a/src/com/isode/stroke/parser/XMPPParser.java +++ b/src/com/isode/stroke/parser/XMPPParser.java @@ -9,7 +9,6 @@ package com.isode.stroke.parser; import com.isode.stroke.elements.ProtocolHeader; -import com.isode.stroke.eventloop.EventLoop; import java.util.logging.Logger; @@ -40,6 +39,9 @@ public class XMPPParser implements XMLParserClient { } if (parseErrorOccurred_ || !xmlParseResult) { logger_.warning(String.format("When parsing, %b and %b", parseErrorOccurred_, xmlParseResult)); + if(data !=null) { + logger_.warning("xml that caused failure: " + data); + } } return xmlParseResult && !parseErrorOccurred_; } |