summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_exceptions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_exceptions.py b/src/buildstream/_exceptions.py
index e9599d225..f92ab822b 100644
--- a/src/buildstream/_exceptions.py
+++ b/src/buildstream/_exceptions.py
@@ -125,7 +125,7 @@ class BstError(Exception):
#
class PluginError(BstError):
def __init__(self, message, reason=None, temporary=False):
- super().__init__(message, domain=ErrorDomain.PLUGIN, reason=reason, temporary=False)
+ super().__init__(message, domain=ErrorDomain.PLUGIN, reason=reason, temporary=temporary)
# LoadError
@@ -195,7 +195,7 @@ class SourceCacheError(BstError):
#
class ArtifactError(BstError):
def __init__(self, message, *, detail=None, reason=None, temporary=False):
- super().__init__(message, detail=detail, domain=ErrorDomain.ARTIFACT, reason=reason, temporary=True)
+ super().__init__(message, detail=detail, domain=ErrorDomain.ARTIFACT, reason=reason, temporary=temporary)
# RemoteError
@@ -213,7 +213,7 @@ class RemoteError(BstError):
#
class CASError(BstError):
def __init__(self, message, *, detail=None, reason=None, temporary=False):
- super().__init__(message, detail=detail, domain=ErrorDomain.CAS, reason=reason, temporary=True)
+ super().__init__(message, detail=detail, domain=ErrorDomain.CAS, reason=reason, temporary=temporary)
# CASRemoteError