diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-25 12:50:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 12:50:57 +0100 |
commit | 488a826842296c9c2933fb53cc884ed8518f9110 (patch) | |
tree | 5ab9dd63a9609ddaec8f5ba136b78ffd6eef734c /src/libstore/build/worker.cc | |
parent | c5b42c5a42138329c6d02da0d8a53cb59c6077f4 (diff) | |
parent | 0eb22db3116585821096b7b81295d4bbf5550343 (diff) |
Merge pull request #4467 from edolstra/error-formatting
Improve error formatting
Diffstat (limited to 'src/libstore/build/worker.cc')
-rw-r--r-- | src/libstore/build/worker.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index a9575fb0f..2f13aa885 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -456,10 +456,7 @@ bool Worker::pathContentsGood(const StorePath & path) } pathContentsGoodCache.insert_or_assign(path, res); if (!res) - logError({ - .name = "Corrupted path", - .hint = hintfmt("path '%s' is corrupted or missing!", store.printStorePath(path)) - }); + printError("path '%s' is corrupted or missing!", store.printStorePath(path)); return res; } |