artifact client: retry on non-JSON response

This commit is contained in:
Rob Herley authored and GitHub committed 2024-04-19 14:03:47 +00:00
1 parent 0f68e5329f
commit 774e7d6589
2 files changed
+48 -1

No files matched your search

@@ -102,7 +102,6 @@ class ArtifactHttpClient implements Rpc {
} catch (error) {
if (error instanceof SyntaxError) {
debug(`Raw Body: ${rawBody}`)
throw error
}
if (error instanceof UsageError) {