NIFI-534:

- Dumping the stack when debug is enabled.
This commit is contained in:
Matt Gilman 2015-04-23 11:28:11 -04:00
parent 7678dd907b
commit 8bfc969142
1 changed files with 3 additions and 0 deletions

View File

@ -424,6 +424,9 @@ public class WebClusterManager implements HttpClusterManager, ProtocolHandler, C
}
} catch(final Throwable t) {
logger.warn("Unable to capture component metrics from Node heartbeats: " + t);
if (logger.isDebugEnabled()) {
logger.warn("", t);
}
} finally {
readLock.unlock("capture component metrics from node heartbeats");
}