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:
parent
62893376dd
commit
6ab2bf9fe0
1 changed files with 3 additions and 1 deletions
|
@ -443,7 +443,9 @@ public class PacketParserUtils {
|
||||||
presence.addExtension(PacketParserUtils.parsePacketExtension(elementName, namespace, parser));
|
presence.addExtension(PacketParserUtils.parsePacketExtension(elementName, namespace, parser));
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue