lhotari commented on a change in pull request #10290:
URL: https://github.com/apache/pulsar/pull/10290#discussion_r618083255
##########
File path:
pulsar-functions/instance/src/main/java/org/apache/pulsar/functions/instance/JavaInstanceRunnable.java
##########
@@ -711,7 +711,9 @@ private void setupInput(ContextImpl contextImpl) throws
Exception {
}.getType()), contextImpl);
}
} catch (Exception e) {
- log.error("Source open produced uncaught exception: ", e);
+ log.error("Source open produced uncaught exception with
ContextImpl of {}. "
+ + "sourceSpec is {}. Exception is {}.",
Review comment:
remove the `Exception is {}.` part since that's not necessary. Here's
the relevant FAQ entry in SLF4J documentation:
http://slf4j.org/faq.html#paramException .
--
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]