mirror of https://github.com/apache/nifi.git
parent
e27c2556db
commit
541bbc0932
|
@ -197,7 +197,7 @@ public abstract class JmsConsumer extends AbstractProcessor {
|
|||
final byte[] messageBody = JmsFactory.createByteArray(message);
|
||||
out.write(messageBody);
|
||||
} catch (final JMSException e) {
|
||||
throw new ProcessException("Failed to receive JMS Message due to {}", e);
|
||||
throw new ProcessException("Failed to receive JMS Message due to " + e.getMessage(), e);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue