This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-278
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
     new 3ce78a2  WIP.
3ce78a2 is described below

commit 3ce78a26a3345df2e5cabfcd6700ce4b3390789e
Author: Sergey Kamov <[email protected]>
AuthorDate: Wed Mar 24 22:13:19 2021 +0300

    WIP.
---
 .../nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala    | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
index 0488e02..e28b91e 100644
--- 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
+++ 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
@@ -157,6 +157,7 @@ private[functions] trait NCIdlFunctions {
                     f.term.pred.apply(f.token.getOrElse(tkn()), f.idlCtx).value
                 }
                 catch {
+                    case e: NCE ⇒ throw new NCE(s"Execution error processing: 
$f", e)
                     case e: Exception ⇒ throw new Exception(s"Execution error 
processing: $f", e)
                 }
 

Reply via email to