diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2022-11-02 19:18:21 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2022-11-02 19:18:21 +0100 |
commit | c5e1f88e22987365754e26c0f8a4e51cf572018f (patch) | |
tree | cf47f7d3e57cf270a3daff2a7b7b37c027867349 /src/core | |
parent | 98a04d7c881859910080619ba926eb74988c8c74 (diff) | |
download | ccache-c5e1f88e22987365754e26c0f8a4e51cf572018f.tar.gz |
chore: Improve logging of file read failures
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mainoptions.cpp | 2 |
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; } |