You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2021/12/02 21:05:08 UTC

[GitHub] [buildstream] nanonyme commented on a change in pull request #1477: _artifactcache.py: make pull errors retryable

nanonyme commented on a change in pull request #1477:
URL: https://github.com/apache/buildstream/pull/1477#discussion_r761464278



##########
File path: src/buildstream/_artifactcache.py
##########
@@ -410,7 +414,9 @@ def _push_artifact_blobs(self, artifact, artifact_digest, remote):
         except grpc.RpcError as e:
             if e.code() != grpc.StatusCode.RESOURCE_EXHAUSTED:
                 raise ArtifactError(
-                    "Failed to push artifact blobs with status {}: {}".format(e.code().name, e.details())
+                    "Failed to push artifact blobs with status {}: {}".format(
+                        e.code().name, e.details(), temporary=True

Review comment:
       mypy test is failing because temporary is used as parameter to format rather than ArtifactError




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org