try {
report.message = HttpClient.getBody(response, String.class);
} catch (Exception e) {
- logger.warn("{}: cannot get body from http-client {}", this, client, e);
+ logger.info("{}: cannot get body from http-client {}", this, client, e);
}
} catch (Exception e) {
+ logger.warn("{}: cannot contact http-client {}", this, client, e);
+
report.healthy = false;
reports.healthy = false;
}
}
}
} catch (Exception e) {
+ logger.warn("{}: cannot start {}", this, e);
return false;
}