diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2022-11-03 11:34:37 +0100 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2022-11-04 16:41:06 +0100 |
commit | e6d6c1b04434d02e01a4dca4d953674f4f110763 (patch) | |
tree | ce6102999d0f6bb5f178fa2b4e627887ab72eaf1 /src/buildtool/execution_api/local/local_storage.cpp | |
parent | c592c7e83613647db2256ac5351e63d09e2d7858 (diff) | |
download | justbuild-e6d6c1b04434d02e01a4dca4d953674f4f110763.tar.gz |
Remove unwanted native protocol prefixes from user-visible locations
Diffstat (limited to 'src/buildtool/execution_api/local/local_storage.cpp')
-rw-r--r-- | src/buildtool/execution_api/local/local_storage.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/buildtool/execution_api/local/local_storage.cpp b/src/buildtool/execution_api/local/local_storage.cpp index 304ea502..a52e347d 100644 --- a/src/buildtool/execution_api/local/local_storage.cpp +++ b/src/buildtool/execution_api/local/local_storage.cpp @@ -26,8 +26,9 @@ namespace { *content); } } - Logger::Log( - LogLevel::Error, "Directory {} not found in CAS", digest.hash()); + Logger::Log(LogLevel::Error, + "Directory {} not found in CAS", + NativeSupport::Unprefix(digest.hash())); return std::nullopt; } @@ -43,7 +44,9 @@ namespace { /*is_hex_id=*/false); } } - Logger::Log(LogLevel::Error, "Tree {} not found in CAS", digest.hash()); + Logger::Log(LogLevel::Error, + "Tree {} not found in CAS", + NativeSupport::Unprefix(digest.hash())); return std::nullopt; } |