From e6d6c1b04434d02e01a4dca4d953674f4f110763 Mon Sep 17 00:00:00 2001 From: Sascha Roloff Date: Thu, 3 Nov 2022 11:34:37 +0100 Subject: Remove unwanted native protocol prefixes from user-visible locations --- src/buildtool/execution_api/local/local_storage.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/buildtool/execution_api/local/local_storage.cpp') 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; } -- cgit v1.2.3