NIFI-4073 - fix duplicated stack trace

This closes #1916.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
Pierre Villard 2017-06-15 12:32:42 +02:00 committed by Andy LoPresto
parent 8878d732dd
commit 47165afc0c
No known key found for this signature in database
GPG Key ID: 6EC293152D90B61D
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}