clebertsuconic commented on a change in pull request #3448:
URL: https://github.com/apache/activemq-artemis/pull/3448#discussion_r574058863



##########
File path: 
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/CoreAmqpConverter.java
##########
@@ -456,7 +450,7 @@ private static Section convertBody(ServerJMSMessage 
message, Map<Symbol, Object>
             while (true) {
                list.add(m.readObject());
             }
-         } catch (MessageEOFException e) {
+         } catch (Exception e) {

Review comment:
       There's nothing else that could happen here...
   
   I don't see the need to duplicate the entire JMS Exception just for these... 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to