pipeline: more explicit non-executable errors
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
d763976ea9
commit
6c48f8b7a9
@ -113,7 +113,7 @@ func ops(code *compiler.Value) ([]*compiler.Value, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
return nil, fmt.Errorf("not executable: %s", source)
|
return nil, fmt.Errorf("not executable: %s (%s)", source, code.Path().String())
|
||||||
}
|
}
|
||||||
return ops, nil
|
return ops, nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user