We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40893d8 commit 9cc7b0eCopy full SHA for 9cc7b0e
tests/canary/canary.js
@@ -77,6 +77,7 @@ async function retry(fn, attempts = 3) {
77
return await fn();
78
} catch (error) {
79
if (i === attempts - 1) throw error;
80
+ console.log(`Retry ${i + 1}/${attempts} failed, retrying...`);
81
await new Promise((resolve) => setTimeout(resolve, 2000));
82
}
83
0 commit comments