Gardella Juan Pablo created NIFI-4066:
-----------------------------------------
Summary: Error messages are logged incompletly
Key: NIFI-4066
URL: https://issues.apache.org/jira/browse/NIFI-4066
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.2.0
Reporter: Gardella Juan Pablo
Priority: Minor
I saw a lot of components are not logging properly the error messages, for
example:
{noformat}
2017-06-13 11:42:45,949 ERROR [Timer-Driven Process Thread-10]
o.a.n.p.kafka.pubsub.PublishKafka_0_10
PublishKafka_0_10[id=4ecbe897-e2b0-35fa-f973-2f187172cf39]
PublishKafka_0_10[id=4ecbe897
-e2b0-35fa-f973-2f187172cf39] failed to process session due to
org.apache.kafka.common.KafkaException: Failed to construct kafka producer: {}
{noformat}
Check at the end the element '{}'. In order to sort it out, instead of passing
the throwable in the arguments as an array, it should be {{e.getMessage()}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)