gemmellr commented on code in PR #55:
URL: https://github.com/apache/qpid-jms/pull/55#discussion_r3340466667
##########
qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpSupport.java:
##########
@@ -207,6 +207,18 @@ public static String extractErrorMessage(ErrorCondition
errorCondition) {
if (condition != null) {
message = message + " [condition = " + condition + "]";
}
+
+ try {
+ Map<?, ?> info = errorCondition.getInfo();
+ String messageWithInfo = message;
+ if (info != null && !info.isEmpty()) {
+ messageWithInfo = message + " [info = " + info + "]";
+ }
+ return messageWithInfo;
Review Comment:
I wouldnt expect that, but its up to the peer to decide what they put in
there so its impossible to say what might be in there. Typically nothing, hence
whey no client I know of thus far does whats proposed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]