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 978c54da5d0..d69cfd63d00 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 @@ private int getTopologyHeartbeatTimeoutSecs(String topoId) { 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)); } }