From 53178e64c72beb5906c3849594f65891c792789b Mon Sep 17 00:00:00 2001 From: Bryce Covert Date: Mon, 21 Dec 2020 10:54:31 -0800 Subject: [PATCH] Undoing retrying --- src/clj/auto_ap/yodlee/core.clj | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/clj/auto_ap/yodlee/core.clj b/src/clj/auto_ap/yodlee/core.clj index 7ea2e704..e2d7afa7 100644 --- a/src/clj/auto_ap/yodlee/core.clj +++ b/src/clj/auto_ap/yodlee/core.clj @@ -17,8 +17,13 @@ (def other-config (if (:yodlee-proxy-host env) {:proxy-host (:yodlee-proxy-host env) - :proxy-port (:yodlee-proxy-port env)} - {})) + :proxy-port (:yodlee-proxy-port env) + :retry-handler (fn [ex try-count http-context] + (log/error "yodlee Error." ex) + false)} + {:retry-handler (fn [ex try-count http-context] + (log/error "yodlee Error." ex) + false)})) (def base-headers {"Api-Version" "1.1" "Cobrand-Name" (:yodlee-cobrand-name env)