artifact client: retry on non-JSON response
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user