jerrypeng commented on a change in pull request #10290:
URL: https://github.com/apache/pulsar/pull/10290#discussion_r627924922



##########
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:
       Printing the sourceSpec here is unnecessary. sourceSpec source already 
be printed when the function first starts.




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