This is an automated email from the ASF dual-hosted git repository. ccollins pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git
commit 2c4af9d3c283853810ce71acbc2719c6c071e660 Author: Christopher Collins <[email protected]> AuthorDate: Mon Jan 27 11:40:40 2020 -0800 mfg: Clarify error message --- newt/mfg/build.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/newt/mfg/build.go b/newt/mfg/build.go index 7f76447..bf23219 100644 --- a/newt/mfg/build.go +++ b/newt/mfg/build.go @@ -155,7 +155,8 @@ func calcBsp(dm DecodedMfg, } if len(bspMap) == 0 { - return nil, util.FmtNewtError("at least one target required") + return nil, util.FmtNewtError( + "failed to determine BSP: no targets and no \"bsp\" field") } if len(bspMap) > 1 {
