1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 13:32:07 +01:00

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

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);
}
}
}