artifact client: retry on non-JSON response

This commit is contained in:
Rob Herley
2024-04-19 14:03:47 +00:00
committed by GitHub
parent 5a736647a1
commit ccb1df45d1
2 changed files with 48 additions and 1 deletions

View File

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