Also log the exception in parsePresence()

when parsing packet extensions.
This commit is contained in:
Florian Schmaus 2014-08-19 22:14:47 +02:00
parent 62893376dd
commit 6ab2bf9fe0
1 changed files with 3 additions and 1 deletions

View File

@ -443,7 +443,9 @@ public class PacketParserUtils {
presence.addExtension(PacketParserUtils.parsePacketExtension(elementName, namespace, parser));
}
catch (Exception e) {
LOGGER.warning("Failed to parse extension packet in Presence packet.");
LOGGER.log(Level.WARNING,
"Failed to parse extension packet in Presence packet.",
e);
}
}
}