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

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


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

commit 26a38cb7be70e2704536b455b2bf44d7e78dc70f
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Mon Apr 26 17:05:51 2021 +0300

    WIP.
---
 nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml     | 2 +-
 nlpcraft/src/main/scala/org/apache/nlpcraft/server/NCServer.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml 
b/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
index 73a5434..50cf792 100644
--- a/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
+++ b/nlpcraft-examples/minecraft/src/main/resources/minecraft.yaml
@@ -25,7 +25,7 @@ description: Minecraft Model.
 
 macros:
   - name: "<PLAYER_NICKNAME>"
-    macro: "//[a-zA-Z0-9]+//"
+    macro: "{//[a-zA-Z0-9]+//}"
 
 elements:
   # General synonyms
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/NCServer.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/NCServer.scala
index e2cfaf0..9d4c403 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/NCServer.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/NCServer.scala
@@ -182,7 +182,7 @@ object NCServer extends App with NCIgniteInstance with 
LazyLogging with NCOpenCe
                     val cfg = s.substring("-config=".length)
 
                     if (!U.isSuitableConfig(cfg))
-                        throw new NCE(s"Specified probe configuration file 
does not exist or cannot be read: $cfg")
+                        throw new NCE(s"Specified server configuration file 
does not exist or cannot be read: $cfg")
 
                     Some(cfg)
 

Reply via email to