Catch Throwable rather than Exception when sending heartbeat.
Signed-off-by: Carpenter Lee <hooleeucas@163.com>
This commit is contained in:
parent
c7b5653249
commit
84934b8679
|
|
@ -62,7 +62,7 @@ public class HeartbeatSenderInitFunc implements InitFunc {
|
|||
public void run() {
|
||||
try {
|
||||
sender.sendHeartbeat();
|
||||
} catch (Exception e) {
|
||||
} catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
RecordLog.info("[HeartbeatSender] Send heartbeat error", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue