diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-03-14 13:21:34 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-03-15 11:09:31 +0000 |
commit | bbbe1f14e0c2644f62c628406c0a26fc9bb67554 (patch) | |
tree | 92959ce7c011bbc231176ab90dd97d3b71fa53a7 /tests/format | |
parent | 9ccf3b476e54034f198102ed9858a8072acf4729 (diff) | |
download | buildstream-bbbe1f14e0c2644f62c628406c0a26fc9bb67554.tar.gz |
loader: clearer error if no junction project.conf
I found the original message confusing - it would talk about wanting a
project at '.', without a frame of reference. After re-reading the code
and junction docs it made more sense, I think this version would save
folks the trouble.
Removing all mention of it, if it's not specified. If it is specified
then explain it a bit more, i.e.
Before:
Could not find the project.conf file for junction element at
hello-junction.bst [line 1 column 0]. Expecting a project at path
'project'
After:
Could not find the project.conf file in project referred to by
junction element 'hello-junction.bst'. Was expecting it at path
'project' in the junction's source.
If no 'path' specified in the junction:
Could not find the project.conf file in project referred to by
junction element 'hello-junction.bst'.
Diffstat (limited to 'tests/format')
0 files changed, 0 insertions, 0 deletions