aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval-cache.cc
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-04-28 12:54:14 +0200
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-04-28 12:54:14 +0200
commitacf990c9ea9de913a500cf2b7a7492eef3bcd7b5 (patch)
tree3c5c5427195422554c2f9df6d2b580bd0a74132e /src/libexpr/eval-cache.cc
parent963b8aa39b169bf5c054449ddce39d60faacf298 (diff)
fix errors case and wording
Diffstat (limited to 'src/libexpr/eval-cache.cc')
-rw-r--r--src/libexpr/eval-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval-cache.cc b/src/libexpr/eval-cache.cc
index aa2bb7435..fd6dd0e40 100644
--- a/src/libexpr/eval-cache.cc
+++ b/src/libexpr/eval-cache.cc
@@ -336,7 +336,7 @@ Value & AttrCursor::getValue()
if (!_value) {
if (parent) {
auto & vParent = parent->first->getValue();
- root->state.forceAttrs(vParent, noPos, "While evaluating the parent attr set");
+ root->state.forceAttrs(vParent, noPos, "while searching for an attribute");
auto attr = vParent.attrs->get(parent->second);
if (!attr)
throw Error("attribute '%s' is unexpectedly missing", getAttrPathStr());