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

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


The following commit(s) were added to refs/heads/NLPCRAFT-91-MODULES by this 
push:
     new 39b9db7  WIP.
39b9db7 is described below

commit 39b9db73c558080162f868b2934034f42c3f9917
Author: Sergey Kamov <[email protected]>
AuthorDate: Fri Apr 23 18:57:34 2021 +0300

    WIP.
---
 .../src/main/scala/org/apache/nlpcraft/model/NCModelFileAdapter.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelFileAdapter.java 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelFileAdapter.java
index 843aa2d..f411d9e 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelFileAdapter.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/NCModelFileAdapter.java
@@ -164,10 +164,10 @@ abstract public class NCModelFileAdapter extends 
NCModelAdapter {
             return readModel(uri.toString(), uri.toURL().openStream(), 
uri.getPath().toLowerCase());
         }
         catch (MalformedURLException e) {
-            throw new NCException("Malformed model configuration URI: " + 
uri.toString(), e);
+            throw new NCException("Malformed model configuration URI: " + uri, 
e);
         }
         catch (IOException e) {
-            throw new NCException("Failed to read model configuration: " + 
uri.toString(), e);
+            throw new NCException("Failed to read model configuration: " + 
uri, e);
         }
     }
     

Reply via email to