From 47165afc0cc9c6a0fe55e61cdefb86c48b52e716 Mon Sep 17 00:00:00 2001 From: Pierre Villard Date: Thu, 15 Jun 2017 12:32:42 +0200 Subject: [PATCH] NIFI-4073 - fix duplicated stack trace This closes #1916. Signed-off-by: Andy LoPresto --- .../http/replication/ThreadPoolRequestReplicator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/replication/ThreadPoolRequestReplicator.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/replication/ThreadPoolRequestReplicator.java index d2c7b381b8..e5a46f894b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/replication/ThreadPoolRequestReplicator.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/coordination/http/replication/ThreadPoolRequestReplicator.java @@ -822,7 +822,7 @@ public class ThreadPoolRequestReplicator implements RequestReplicator { nodeResponse = replicateRequest(resourceBuilder, nodeId, method, uri, requestId, headers, clusterResponse); } catch (final Exception e) { nodeResponse = new NodeResponse(nodeId, method, uri, e); - logger.warn("Failed to replicate request {} {} to {} due to {}", method, uri.getPath(), nodeId, e); + logger.warn("Failed to replicate request {} {} to {} due to {}", method, uri.getPath(), nodeId, e.toString()); logger.warn("", e); }