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 2022/05/07 08:59:41 UTC

[GitHub] [buildstream] nanonyme commented on a diff in pull request #1645: Make source cache errors temporary

nanonyme commented on code in PR #1645:
URL: https://github.com/apache/buildstream/pull/1645#discussion_r867327336


##########
src/buildstream/_elementsourcescache.py:
##########
@@ -195,7 +197,7 @@ def _get_source(self, ref):
                 source_proto.ParseFromString(f.read())
                 return source_proto
         except FileNotFoundError as e:
-            raise SourceCacheError("Attempted to access unavailable source: {}".format(e)) from e
+            raise SourceCacheError("Attempted to access unavailable source: {}".format(e), temporary=True) from e

Review Comment:
   Thanks, will remove



-- 
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