diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2018-07-16 14:22:10 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-07-18 14:11:03 +0900 |
commit | b8543f8ac4a5d63703884a67fbe169954b6db287 (patch) | |
tree | a635ba11971961786c63794d6e9924e20a82ebc6 /buildstream | |
parent | adedd867aa62b4611292785a3272506258888acd (diff) | |
download | buildstream-b8543f8ac4a5d63703884a67fbe169954b6db287.tar.gz |
_exceptions.py: Add `detail` to ArtifactErrors
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_exceptions.py b/buildstream/_exceptions.py index 377963244..8baf16706 100644 --- a/buildstream/_exceptions.py +++ b/buildstream/_exceptions.py @@ -249,8 +249,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 |