You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "cshannon (via GitHub)" <gi...@apache.org> on 2023/05/12 14:39:00 UTC
[GitHub] [accumulo] cshannon commented on a diff in pull request #3398: Include missing stack trace when logging error
cshannon commented on code in PR #3398:
URL: https://github.com/apache/accumulo/pull/3398#discussion_r1192463596
##########
server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java:
##########
@@ -984,7 +984,7 @@ synchronized void completeClose(boolean saveState, boolean completeClose) throws
activeScans.size());
this.wait(50);
} catch (InterruptedException e) {
- log.error(e.toString());
+ log.error("{}", e, e);
Review Comment:
This is fine with me, it provides more context.
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org