aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/substitution-goal.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-25 12:50:57 +0100
committerGitHub <noreply@github.com>2021-01-25 12:50:57 +0100
commit488a826842296c9c2933fb53cc884ed8518f9110 (patch)
tree5ab9dd63a9609ddaec8f5ba136b78ffd6eef734c /src/libstore/build/substitution-goal.cc
parentc5b42c5a42138329c6d02da0d8a53cb59c6077f4 (diff)
parent0eb22db3116585821096b7b81295d4bbf5550343 (diff)
Merge pull request #4467 from edolstra/error-formatting
Improve error formatting
Diffstat (limited to 'src/libstore/build/substitution-goal.cc')
-rw-r--r--src/libstore/build/substitution-goal.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libstore/build/substitution-goal.cc b/src/libstore/build/substitution-goal.cc
index f3c9040bc..c4b0de78d 100644
--- a/src/libstore/build/substitution-goal.cc
+++ b/src/libstore/build/substitution-goal.cc
@@ -144,11 +144,8 @@ void SubstitutionGoal::tryNext()
only after we've downloaded the path. */
if (!sub->isTrusted && worker.store.pathInfoIsTrusted(*info))
{
- logWarning({
- .name = "Invalid path signature",
- .hint = hintfmt("substituter '%s' does not have a valid signature for path '%s'",
- sub->getUri(), worker.store.printStorePath(storePath))
- });
+ warn("substituter '%s' does not have a valid signature for path '%s'",
+ sub->getUri(), worker.store.printStorePath(storePath));
tryNext();
return;
}