From 289505853536f66f18eab0bf94560b10a20124e5 Mon Sep 17 00:00:00 2001 From: Gijsdeman Date: Fri, 1 Dec 2023 19:38:00 +0100 Subject: [PATCH] Check maxRetryCOunt value --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 7eec952..d4f2f85 100644 --- a/src/index.ts +++ b/src/index.ts @@ -334,6 +334,7 @@ async function getUserDataFromActiveDirectory(): Promise { 'mailPermROInbox', 'mailPermROSent', 'mailPermSOB'], })).searchEntries as unknown as ActiveDirectoryUser[]; } + console.log(retryCount, maxRetryCount); if (retryCount === maxRetryCount) throw new Error('Ran into an issue when getting users from Active Directory.'); console.log('Successfully got all users from Active Directory. \n\n'); }