diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index a9bd3650..a32ef447 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -199,7 +199,7 @@ export const getExt = (url: string) => { interface ExecWhenTrue { loopCheck: () => Promise; - executeFn: () => void; + executeFn: () => unknown; wait?: number; loopGuard?: number; funcName?: string; @@ -223,4 +223,7 @@ export const execWhenTrue = async ({ } } executeFn(); + logger.debug( + `[ExecWhenTrue] function ${funcName} executed after ${loops} try.`, + ); };