diff options
Diffstat (limited to 'src/buildstream/_exceptions.py')
-rw-r--r-- | src/buildstream/_exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_exceptions.py b/src/buildstream/_exceptions.py index f92ab822b..30fc26e71 100644 --- a/src/buildstream/_exceptions.py +++ b/src/buildstream/_exceptions.py @@ -124,8 +124,8 @@ class BstError(Exception): # or by the base :class:`.Plugin` element itself. # class PluginError(BstError): - def __init__(self, message, reason=None, temporary=False): - super().__init__(message, domain=ErrorDomain.PLUGIN, reason=reason, temporary=temporary) + def __init__(self, message, *, reason=None, detail=None, temporary=False): + super().__init__(message, domain=ErrorDomain.PLUGIN, detail=detail, reason=reason, temporary=temporary) # LoadError |