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.
2 parents e5ac93b + e088156 commit 60064fdCopy full SHA for 60064fd
src/utils/helpers.ts
@@ -171,7 +171,7 @@ export async function makeRequestToArweaveNetwork(
171
},
172
})
173
174
- if (response.status === 429 || response.status === 503) {
+ if (response.status === 429 || response.status === 503 || response.status === 529 || response.status === 572) {
175
console.warn(
176
`Request to ${url} failed with status ${response.status}. retrying...`
177
)
@@ -188,8 +188,6 @@ export async function makeRequestToArweaveNetwork(
188
throw new Error(`Max attempts reached for ${url}`)
189
}
190
191
- console.log(`"Success" Response from ${url}:`, response.status)
192
-
193
return response
194
} catch (error: any) {
195
const isTimeout =
0 commit comments