forked from j62/ctbrec
1
0
Fork 0

Improve logging

This commit is contained in:
0xb00bface 2020-12-19 15:50:24 +01:00
parent 49469d8987
commit ae3726d906
1 changed files with 2 additions and 2 deletions

View File

@ -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);