summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/common/artifact.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildtool/common/artifact.hpp b/src/buildtool/common/artifact.hpp
index 72909944..eb5be3a3 100644
--- a/src/buildtool/common/artifact.hpp
+++ b/src/buildtool/common/artifact.hpp
@@ -74,7 +74,7 @@ class Artifact {
if (not(iss.get() == '[') or not std::getline(iss, id, ':') or
not std::getline(iss, size_str, ':') or
not std::getline(iss, type, ']')) {
- Logger::Log(LogLevel::Error,
+ Logger::Log(LogLevel::Debug,
"failed parsing object info from string.");
return std::nullopt;
}
@@ -85,10 +85,10 @@ class Artifact {
ArtifactDigest{id, size, IsTreeObject(object_type)},
object_type};
} catch (std::out_of_range const& e) {
- Logger::Log(LogLevel::Error,
+ Logger::Log(LogLevel::Debug,
"size raised out_of_range exception.");
} catch (std::invalid_argument const& e) {
- Logger::Log(LogLevel::Error,
+ Logger::Log(LogLevel::Debug,
"size raised invalid_argument exception.");
}
return std::nullopt;