From 0f7e0ff0304d7a8f5c6d121eed9adb6eb7592751 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Wed, 2 Oct 2019 08:50:28 -0700 Subject: [PATCH] CuratorDruidNodeDiscoveryProvider: do not ignore exception in listener execution and log it (#8616) --- .../curator/discovery/CuratorDruidNodeDiscoveryProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/apache/druid/curator/discovery/CuratorDruidNodeDiscoveryProvider.java b/server/src/main/java/org/apache/druid/curator/discovery/CuratorDruidNodeDiscoveryProvider.java index 938dd1b6aac..93903de6c96 100644 --- a/server/src/main/java/org/apache/druid/curator/discovery/CuratorDruidNodeDiscoveryProvider.java +++ b/server/src/main/java/org/apache/druid/curator/discovery/CuratorDruidNodeDiscoveryProvider.java @@ -330,7 +330,7 @@ public class CuratorDruidNodeDiscoveryProvider extends DruidNodeDiscoveryProvide runnable.run(); } catch (Exception ex) { - log.error(errMsgFormat, args); + log.error(ex, errMsgFormat, args); } }); }