This is an automated email from the ASF dual-hosted git repository. not-in-ldap pushed a commit to branch 135-expire-artifacts-in-local-cache-clean in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 47b6b6e6a5908c79fa4d46b2d3bbfab42bae0e2f Author: Tristan Maat <[email protected]> AuthorDate: Mon Jul 16 14:22:10 2018 +0100 _exceptions.py: Add `detail` to ArtifactErrors --- buildstream/_exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildstream/_exceptions.py b/buildstream/_exceptions.py index 3aadd52..96d634b 100644 --- a/buildstream/_exceptions.py +++ b/buildstream/_exceptions.py @@ -246,8 +246,8 @@ class SandboxError(BstError): # Raised when errors are encountered in the artifact caches # class ArtifactError(BstError): - def __init__(self, message, reason=None): - super().__init__(message, domain=ErrorDomain.ARTIFACT, reason=reason) + def __init__(self, message, *, detail=None, reason=None): + super().__init__(message, detail=detail, domain=ErrorDomain.ARTIFACT, reason=reason) # PipelineError
