diff --git a/packages/util/src/onFailedAttemptFor.ts b/packages/util/src/onFailedAttemptFor.ts index b92726521..59549fff9 100644 --- a/packages/util/src/onFailedAttemptFor.ts +++ b/packages/util/src/onFailedAttemptFor.ts @@ -2,6 +2,7 @@ import { FailedAttemptError } from 'p-retry' export const onFailedAttemptFor = (operation: string) => ({ attemptNumber, message, retriesLeft }: FailedAttemptError) => { const nextAction = retriesLeft > 0 ? 'retying...' : 'exiting' + console.warn(message) console.log(`${operation}: Attempt ${attemptNumber} of ${attemptNumber + retriesLeft}, ${nextAction}`) if (retriesLeft === 0) { console.error(message)