jerryshao commented on code in PR #9513:
URL: https://github.com/apache/gravitino/pull/9513#discussion_r2638514975


##########
lance/lance-rest-server/src/main/java/org/apache/gravitino/lance/service/LanceExceptionMapper.java:
##########
@@ -42,6 +42,8 @@ public static Response toRESTResponse(String instance, 
Exception ex) {
             ? (LanceNamespaceException) ex
             : toLanceNamespaceException(instance, ex);
 
+    LOG.error("Handling Lance exception: {}", lanceException.getMessage());

Review Comment:
   Make this error log more useful. Why don't you print the stack, rather than 
a one-line message? Besides, adding more useful information to the log. The 
current log looks more like a debug log, not a user-facing log.



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

To unsubscribe, e-mail: [email protected]

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

Reply via email to