You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "EdColeman (via GitHub)" <gi...@apache.org> on 2023/05/12 14:28:34 UTC
[GitHub] [accumulo] EdColeman commented on a diff in pull request #3398: Include missing stack trace when logging error
EdColeman commented on code in PR #3398:
URL: https://github.com/apache/accumulo/pull/3398#discussion_r1192451320
##########
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:
```suggestion
log.error("Interrupted waiting to completeClose for extent {}, {}", extent, e, e);
```
--
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