diff options
-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 107d2ebc8..9966b76e0 100644 --- a/buildstream/_exceptions.py +++ b/buildstream/_exceptions.py @@ -201,8 +201,8 @@ class LoadErrorReason(Enum): # interpreting project YAML # class LoadError(BstError): - def __init__(self, reason, message): - super().__init__(message, domain=ErrorDomain.LOAD, reason=reason) + def __init__(self, reason, message, *, detail=None): + super().__init__(message, detail=detail, domain=ErrorDomain.LOAD, reason=reason) # ImplError |