diff --git a/common/src/main/java/ctbrec/sites/cam4/Cam4WsClient.java b/common/src/main/java/ctbrec/sites/cam4/Cam4WsClient.java index dbe854b5..81a5c9a7 100644 --- a/common/src/main/java/ctbrec/sites/cam4/Cam4WsClient.java +++ b/common/src/main/java/ctbrec/sites/cam4/Cam4WsClient.java @@ -158,9 +158,9 @@ public class Cam4WsClient { super.onFailure(webSocket, t, response); try { if(response != null) { - LOG.error("failure: {}", response.body().string(), t); + LOG.error("failure {}: {}", model, response.body().string(), t); } else { - LOG.error("failure:", t); + LOG.error("failure {}:", model, t); } } catch (IOException e) { LOG.error("Connection failure and couldn't get the response body", e);