diff --git a/metricshub-wbem-extension/pom.xml b/metricshub-wbem-extension/pom.xml
index 943b6f297..ff38748c1 100644
--- a/metricshub-wbem-extension/pom.xml
+++ b/metricshub-wbem-extension/pom.xml
@@ -179,6 +179,7 @@
org.sentrysoftware:wbem
org.sentrysoftware:vcenter
com.vmware:vijava
+ dom4j:dom4j
org.sentrysoftware:metricshub-wbem-extension
diff --git a/metricshub-wbem-extension/src/main/java/org/sentrysoftware/metricshub/extension/wbem/WbemRequestExecutor.java b/metricshub-wbem-extension/src/main/java/org/sentrysoftware/metricshub/extension/wbem/WbemRequestExecutor.java
index 51cd0e808..cbf453ab1 100644
--- a/metricshub-wbem-extension/src/main/java/org/sentrysoftware/metricshub/extension/wbem/WbemRequestExecutor.java
+++ b/metricshub-wbem-extension/src/main/java/org/sentrysoftware/metricshub/extension/wbem/WbemRequestExecutor.java
@@ -186,7 +186,8 @@ private String refreshVCenterTicket(
if (e instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
- log.error("Hostname {} - Vcenter ticket refresh query failed. Exception: {}", e);
+ log.error("Hostname {} - vCenter ticket refresh query failed. Error message: {}", hostname, e.getMessage());
+ log.debug("Hostname {} - vCenter ticket refresh query failed.", hostname, e);
throw new ClientException("vCenter refresh ticket query failed on " + hostname + ".", e);
}
}