diff options
| author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-01 19:15:42 +0900 |
|---|---|---|
| committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-01-01 19:39:09 +0900 |
| commit | 86b129643385363ebeea9dbc4b0d152412909948 (patch) | |
| tree | ae1a163833049fb89a7c0175af15c6ef512b8fc5 | |
| parent | 3c75781b9d68b7b1958082a0f75a2fc5db774418 (diff) | |
| download | buildstream-86b129643385363ebeea9dbc4b0d152412909948.tar.gz | |
_pipeline.py: Added context to some errors
| -rw-r--r-- | buildstream/_pipeline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_pipeline.py b/buildstream/_pipeline.py index a6303b2be..41f4b8cce 100644 --- a/buildstream/_pipeline.py +++ b/buildstream/_pipeline.py @@ -222,7 +222,7 @@ class Pipeline(): for element in inconsistent: detail += " " + element.name + "\n" self.message(MessageType.ERROR, "Inconsistent pipeline", detail=detail) - raise PipelineError() + raise PipelineError(reason="inconsistent-pipeline") # Generator function to iterate over only the elements # which are required to build the pipeline target, omitting |
