You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2026/06/29 22:10:22 UTC
(pulsar) branch master updated: [improve][client] Log the exception in ControlledClusterFailover.close (#25925)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 6d12cce96f4 [improve][client] Log the exception in ControlledClusterFailover.close (#25925)
6d12cce96f4 is described below
commit 6d12cce96f4bb28dd745082d92c8bc05aa9e409c
Author: Pavel Zeger <pa...@gmail.com>
AuthorDate: Tue Jun 30 01:10:16 2026 +0300
[improve][client] Log the exception in ControlledClusterFailover.close (#25925)
---
.../java/org/apache/pulsar/client/impl/ControlledClusterFailover.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ControlledClusterFailover.java b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ControlledClusterFailover.java
index 42ca0156138..8b19cd94136 100644
--- a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ControlledClusterFailover.java
+++ b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ControlledClusterFailover.java
@@ -241,7 +241,7 @@ public class ControlledClusterFailover implements ServiceUrlProvider {
try {
httpClient.close();
} catch (IOException e) {
- log.error("Failed to close http client.");
+ log.error().exception(e).log("Failed to close http client.");
}
}
}