]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Improve log message when manifest entry already exists
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 3 Jan 2021 12:04:58 +0000 (13:04 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 3 Jan 2021 12:07:44 +0000 (13:07 +0100)
src/Manifest.cpp

index 9ee87dcba70d902e6066d86a36a133a6d210c0c6..f594ed1d79cf30a5a68a9009e28ac89a544bdaf8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2020 Joel Rosdahl and other contributors
+// Copyright (C) 2009-2021 Joel Rosdahl and other contributors
 //
 // See doc/AUTHORS.adoc for a complete list of contributors.
 //
@@ -587,6 +587,8 @@ put(const Config& config,
     } catch (const Error& e) {
       LOG("Error: {}", e.what());
     }
+  } else {
+    LOG_RAW("The entry already exists in the manifest, not adding");
   }
   return false;
 }