You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by jn...@apache.org on 2023/11/01 08:21:51 UTC
(storm) branch master updated: [STORM-3992] Fix log line to print stack trace upon Exception when getting heartbeat timeout
This is an automated email from the ASF dual-hosted git repository.
jnioche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new b85fb9be3 [STORM-3992] Fix log line to print stack trace upon Exception when getting heartbeat timeout
new 60f0e5fc9 Merge pull request #3593 from bipinprasad/storm-3992
b85fb9be3 is described below
commit b85fb9be32d664512d21716493a8cbcf7cc82e71
Author: bipinprasad <bi...@apache.org>
AuthorDate: Tue Oct 31 14:50:56 2023 -0700
[STORM-3992] Fix log line to print stack trace upon Exception when getting heartbeat timeout
---
storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java b/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
index 978c54da5..d69cfd63d 100644
--- a/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
+++ b/storm-server/src/main/java/org/apache/storm/daemon/nimbus/Nimbus.java
@@ -2663,7 +2663,7 @@ public class Nimbus implements Iface, Shutdownable, DaemonCommon {
return getTopologyHeartbeatTimeoutSecs(topoConf);
} catch (Exception e) {
// contain any exception
- LOG.warn("Exception when getting heartbeat timeout.", e.getMessage());
+ LOG.warn("Exception when getting heartbeat timeout", e);
return ObjectReader.getInt(conf.get(DaemonConfig.NIMBUS_TASK_TIMEOUT_SECS));
}
}