Commit 787f2628 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Improved logging when a packet is of an unknown type.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1516 b35dd754-fafc-0310-a699-88a17e54d16e
parent c84872ba
...@@ -226,8 +226,9 @@ public abstract class SocketReader implements Runnable { ...@@ -226,8 +226,9 @@ public abstract class SocketReader implements Runnable {
} }
else { else {
if (!processUnknowPacket(doc)) { if (!processUnknowPacket(doc)) {
throw new XmlPullParserException(LocaleUtils.getLocalizedString( Log.warn(LocaleUtils.getLocalizedString("admin.error.packet.tag") +
"admin.error.packet.tag") + tag); doc.asXML());
open = false;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment