From d23a055485aef191446528e701a90581651b7f2b Mon Sep 17 00:00:00 2001 From: Erdi Rowlands Date: Thu, 28 Dec 2023 16:08:28 +0000 Subject: [PATCH] FFM-10286 Retry on auth 500 errors --- force-app/main/classes/FFAuthServiceCached.cls | 1 - 1 file changed, 1 deletion(-) diff --git a/force-app/main/classes/FFAuthServiceCached.cls b/force-app/main/classes/FFAuthServiceCached.cls index 603dad2..e76f6fe 100644 --- a/force-app/main/classes/FFAuthServiceCached.cls +++ b/force-app/main/classes/FFAuthServiceCached.cls @@ -82,7 +82,6 @@ public class FFAuthServiceCached implements FFAuthService { } catch (FFBase.ApiException e) { System.debug('Auth Error'); System.debug(e); - // TODO retry on more than just 403 if(e.getStatusCode() == 403 || e.getStatusCode() == 500) { if(retry < this.config.authRetries) { System.debug('Retrying authentication, retry no. ' + retry);