Skip to content

Commit

Permalink
chore: Log error in retry module (#10719)
Browse files Browse the repository at this point in the history
Should deal with the annoying `{}` log entries
  • Loading branch information
spalladino authored Dec 13, 2024
1 parent e077980 commit 84ea539
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 84ea539

Please sign in to comment.