diff options
author | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2018-01-12 14:24:23 +0000 |
---|---|---|
committer | Jonathan Maw <jonathan.maw@codethink.co.uk> | 2018-01-25 13:27:38 +0000 |
commit | a0a26d7c5990aaa2cc3178df89cd9cf441d8f367 (patch) | |
tree | 0160fb44e0d090984ee36243ef4d7ae25b114900 | |
parent | cf7e4357fd7b7a4818a52718ac30de89fb3bfe72 (diff) | |
download | buildstream-a0a26d7c5990aaa2cc3178df89cd9cf441d8f367.tar.gz |
element: Fix 'detail' not being stored in the ElementError
-rw-r--r-- | buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 463c6c097..34e1cfc8b 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -90,7 +90,7 @@ class ElementError(BstError): reason (str): An optional machine readable reason string, used for test cases """ def __init__(self, message, *, detail=None, reason=None): - super().__init__(message, domain=ErrorDomain.ELEMENT, reason=reason) + super().__init__(message, detail=detail, domain=ErrorDomain.ELEMENT, reason=reason) class Element(Plugin): |