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 61ef44a commit 1cdc3acCopy full SHA for 1cdc3ac
1 file changed
tests/mocks/scripts/utils.mts
@@ -75,6 +75,11 @@ export async function downloadWithRetry(
75
76
return await response.text();
77
} catch (error) {
78
+ // 404 may be expected (and isn't really recoverable)
79
+ if (error instanceof Http404Error) {
80
+ throw error;
81
+ }
82
+
83
const errorMessage = error instanceof Error ? error.message : String(error);
84
if (currentAttempt >= maxAttempts) {
85
throw error;
0 commit comments