mirror of https://github.com/apache/nifi.git
NIFI-4073 - fix duplicated stack trace
This closes #1916. Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
parent
8878d732dd
commit
47165afc0c
|
@ -822,7 +822,7 @@ public class ThreadPoolRequestReplicator implements RequestReplicator {
|
||||||
nodeResponse = replicateRequest(resourceBuilder, nodeId, method, uri, requestId, headers, clusterResponse);
|
nodeResponse = replicateRequest(resourceBuilder, nodeId, method, uri, requestId, headers, clusterResponse);
|
||||||
} catch (final Exception e) {
|
} catch (final Exception e) {
|
||||||
nodeResponse = new NodeResponse(nodeId, method, uri, 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);
|
logger.warn("", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue