diff options
-rw-r--r-- | buildstream/plugins/sources/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/plugins/sources/git.py b/buildstream/plugins/sources/git.py index 7610846b3..b3e22494a 100644 --- a/buildstream/plugins/sources/git.py +++ b/buildstream/plugins/sources/git.py @@ -229,7 +229,7 @@ class GitSource(Source): self.submodule_overrides[path] = self.node_get_member(submodule, str, 'url') if not (ref or self.tracking): - raise SourceError("Must specify either 'ref' or 'track' parameters") + raise SourceError("{}: Must specify either 'ref' or 'track' parameters".format(self)) def preflight(self): # Check if git is installed, get the binary at the same time |