summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2022-11-02 19:18:21 +0100
committerJoel Rosdahl <joel@rosdahl.net>2022-11-02 19:18:21 +0100
commitc5e1f88e22987365754e26c0f8a4e51cf572018f (patch)
treecf47f7d3e57cf270a3daff2a7b7b37c027867349 /src/core
parent98a04d7c881859910080619ba926eb74988c8c74 (diff)
downloadccache-c5e1f88e22987365754e26c0f8a4e51cf572018f.tar.gz
chore: Improve logging of file read failures
Diffstat (limited to 'src/core')
-rw-r--r--src/core/mainoptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainoptions.cpp b/src/core/mainoptions.cpp
index 1f6e651c..2283162f 100644
--- a/src/core/mainoptions.cpp
+++ b/src/core/mainoptions.cpp
@@ -175,7 +175,7 @@ read_from_path_or_stdin(const std::string& path)
const auto result = util::read_file<std::vector<uint8_t>>(path);
if (!result) {
return nonstd::make_unexpected(
- FMT("Failed to read from {}: {}", path, result.error()));
+ FMT("Failed to read {}: {}", path, result.error()));
}
return *result;
}