mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Improve logging of parsing errors
This commit is contained in:
parent
65dd6c9777
commit
236dfb009d
2 changed files with 5 additions and 2 deletions
|
@ -576,7 +576,9 @@ public class PacketParserUtils {
|
|||
try {
|
||||
PacketParserUtils.addExtensionElement(presence, parser, elementName, namespace);
|
||||
} catch (Exception e) {
|
||||
LOGGER.log(Level.WARNING, "Failed to parse extension packet in Presence packet.", e);
|
||||
LOGGER.log(Level.WARNING,
|
||||
"Failed to parse extension packet in Presence packet. Attributes: from="
|
||||
+ presence.getFrom() + " id=" + presence.getStanzaId(), e);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue