mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +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
|
@ -51,7 +51,8 @@ public class CapsExtensionProvider extends ExtensionElementProvider<CapsExtensio
|
|||
if (hash != null && version != null && node != null) {
|
||||
return new CapsExtension(node, version, hash);
|
||||
} else {
|
||||
throw new SmackException("Caps elment with missing attributes");
|
||||
throw new SmackException("Caps elment with missing attributes. Attributes: hash=" + hash + " version="
|
||||
+ version + " node=" + node);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue