Skip to content

Commit

Permalink
fix: debugging failed retries
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Dec 9, 2024
1 parent ed606d1 commit 6961ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/retry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ export async function retry<T>(
await setTimeout(interval);
}
}
throw new Error("all attempts failed", { cause });
throw new Error(`all attempts failed: ${cause}`);
}

0 comments on commit 6961ff8

Please sign in to comment.