From f9e1578899656bf238a00f7c1815242e97909128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Tue, 22 Nov 2022 00:12:24 +0100 Subject: [PATCH] Fix heartbeat error not always being logged --- .../java/wtf/beatrice/hidekobot/runnables/HeartBeatTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/runnables/HeartBeatTask.java b/src/main/java/wtf/beatrice/hidekobot/runnables/HeartBeatTask.java index 0a455b6..c073792 100644 --- a/src/main/java/wtf/beatrice/hidekobot/runnables/HeartBeatTask.java +++ b/src/main/java/wtf/beatrice/hidekobot/runnables/HeartBeatTask.java @@ -45,7 +45,7 @@ public class HeartBeatTask implements Runnable } } catch (IOException e) { - logger.log("Error while trying to push heartbeat: " + e.getMessage() + ", " + e.getCause().getMessage()); + logger.log("Error while trying to push heartbeat: " + e.getMessage()); } }