Skip to content

Commit f7ebd8c

Browse files
aokingolivielpeau
authored andcommitted
print exception (#122)
1 parent 6bda58f commit f7ebd8c

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/org/datadog/jmxfetch

1 file changed

+1
-1
lines changed

src/main/java/org/datadog/jmxfetch/App.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public void init(boolean forceNewConnection) {
500500
String warning = CANNOT_CONNECT_TO_INSTANCE + instance + ". " + e.getMessage();
501501
this.reportStatus(appConfig, reporter, instance, 0, warning, Status.STATUS_ERROR);
502502
this.sendServiceCheck(reporter, instance, warning, Status.STATUS_ERROR);
503-
LOGGER.error(warning);
503+
LOGGER.error(warning, e);
504504
} catch (Exception e) {
505505
instance.cleanUp();
506506
brokenInstances.add(instance);

0 commit comments

Comments
 (0)