From 3c620816d120e795a8f2751e0e552126991a90b6 Mon Sep 17 00:00:00 2001 From: "BENJAMIN, MAX" Date: Thu, 4 Mar 2021 10:14:40 -0500 Subject: retry on ResponseProcessingException retry on ResponseProcessingException Issue-ID: SO-3570 Signed-off-by: AT&T Open Source Change-Id: I62745d3833bec8fb5f33007aa613ff4626b5486d --- common/src/main/java/org/onap/so/client/RestClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/src/main/java') diff --git a/common/src/main/java/org/onap/so/client/RestClient.java b/common/src/main/java/org/onap/so/client/RestClient.java index d1b4c2b900..0df378db66 100644 --- a/common/src/main/java/org/onap/so/client/RestClient.java +++ b/common/src/main/java/org/onap/so/client/RestClient.java @@ -248,7 +248,7 @@ public abstract class RestClient { return e.getCause() instanceof ConnectException; }); result.add(e -> { - return e.getCause() instanceof ResponseProcessingException; + return e instanceof ResponseProcessingException; }); return result; } -- cgit 1.2.3-korg