summaryrefslogtreecommitdiff
path: root/src/texec
diff options
context:
space:
mode:
Diffstat (limited to 'src/texec')
-rw-r--r--src/texec/eval.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/texec/eval.go b/src/texec/eval.go
index 4cd643b..542fcf4 100644
--- a/src/texec/eval.go
+++ b/src/texec/eval.go
@@ -212,7 +212,7 @@ func getNodeRelative(s TArtifact) *tparse.Node {
tmpmod := getModuleInPath(s)
if tmpmod == nil {
- continue
+ errOut(fmt.Sprintf("Failed to get module to resolve node: %v", s))
}
for i := 0; i < len(tmpmod.Artifacts); i++ {
@@ -232,7 +232,7 @@ func getModDefRelative(s TArtifact) *TVariable {
tmpmod := getModuleInPath(s)
if tmpmod == nil {
- continue
+ errOut(fmt.Sprintf("Failed to get module to resolve artifact: %v", s))
}
val, prs := tmpmod.Defs[s.Name]