Drop automatic message prefix from command errors (#384)

This commit is contained in:
Jan Heuermann
2023-10-07 09:15:33 +02:00
committed by GitHub
parent 46c03841ed
commit 93d31e17f4
5 changed files with 24 additions and 15 deletions
+1 -1
View File
@@ -762,7 +762,7 @@ func (c *Context) RunNode(node *Node, binds ...interface{}) (err error) {
}
for _, method := range methods {
if err = callMethod("Run", method.node.Target, method.method, method.binds); err != nil {
if err = callFunction(method.method, method.binds); err != nil {
return err
}
}