Skip to content

Commit

Permalink
chore: Log error in retry module
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Dec 13, 2024
1 parent 8956e28 commit b5ba749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/foundation/src/retry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function retry<Result>(
throw err;
}
log.verbose(`${name} failed. Will retry in ${s}s...`);
!failSilently && log.error(err);
!failSilently && log.error(`Error while retrying ${name}`, err);
await sleep(s * 1000);
continue;
}
Expand Down

0 comments on commit b5ba749

Please sign in to comment.