[core] Improve warning message of ExceptionThrowingCallbackWithHint

This commit is contained in:
Florian Schmaus 2022-01-22 10:24:01 +01:00
parent 5c46451cd2
commit 1a727c152e
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ public class ExceptionThrowingCallbackWithHint extends ExceptionThrowingCallback
@Override
public void handleUnparsableStanza(UnparseableStanza packetData) throws IOException {
LOGGER.warning("Parsing exception encountered."
LOGGER.warning("Parsing exception \"" + packetData.getParsingException().getMessage() + "\" encountered."
+ " This exception will be re-thrown, leading to a disconnect."
+ " You can change this behavior by setting a different ParsingExceptionCallback using setParsingExceptionCallback()."
+ " More information an be found in AbstractXMPPConnection's javadoc.");