diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2022-06-07 16:08:05 +0200 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2022-06-09 09:35:16 +0200 |
commit | 61b258763e2fec66da1bfa891e889a6fc5cdc78d (patch) | |
tree | f9d8c87c1bc68ac86af34a4b2c24fce87c5f556d | |
parent | 4ff1c6a952b48fc86cb75ea41e7058b4e4abdef6 (diff) | |
download | justbuild-61b258763e2fec66da1bfa891e889a6fc5cdc78d.tar.gz |
improve error message
-rw-r--r-- | src/buildtool/main/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index ac7e447d..3f74b4e1 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -564,8 +564,9 @@ auto DetermineRoots(CommonArguments const& cargs, ws_root = FileRoot{*main_ws_root}; } if (not ws_root) { - Logger::Log( - LogLevel::Error, "Unknown root for repository {}", repo); + Logger::Log(LogLevel::Error, + "Unknown workspace root for repository {}", + repo); std::exit(kExitFailure); } auto info = RepositoryConfig::RepositoryInfo{std::move(*ws_root)}; |