From 767873a4a467765ec147f4afbcd6ea9b58bf6c0a Mon Sep 17 00:00:00 2001 From: Aravindan Ramkumar <1028385+aravindanr@users.noreply.github.com> Date: Fri, 22 Oct 2021 13:23:05 -0700 Subject: [PATCH] copy retryable value from ErrorResponse Signed-off-by: Aravindan Ramkumar <1028385+aravindanr@users.noreply.github.com> --- .../conductor/client/exception/ConductorClientException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/main/java/com/netflix/conductor/client/exception/ConductorClientException.java b/client/src/main/java/com/netflix/conductor/client/exception/ConductorClientException.java index 1016077051..307e2f7677 100644 --- a/client/src/main/java/com/netflix/conductor/client/exception/ConductorClientException.java +++ b/client/src/main/java/com/netflix/conductor/client/exception/ConductorClientException.java @@ -61,6 +61,7 @@ public ConductorClientException(int status, String message) { public ConductorClientException(int status, ErrorResponse errorResponse) { super(errorResponse.getMessage()); this.status = status; + this.retryable = errorResponse.isRetryable(); this.message = errorResponse.getMessage(); this.code = errorResponse.getCode(); this.instance = errorResponse.getInstance();