This is an automated email from the ASF dual-hosted git repository. aradzinski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit d7b960409a63784d9c4d4134578c7dc3c0a976aa Author: Aaron Radzinski <[email protected]> AuthorDate: Tue Oct 13 02:57:38 2020 -0700 Update NCBasicRestApi.scala --- .../src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala index d57acd7..126b25a 100644 --- a/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala +++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/server/rest/NCBasicRestApi.scala @@ -324,7 +324,7 @@ class NCBasicRestApi extends NCRestApi with LazyLogging with NCOpenCensusTrace w @throws[InvalidField] protected def checkModelId(mdlId: String, compId: Long): Unit = if (!NCProbeManager.existsForModel(compId, mdlId)) - throw InvalidModelId("mdlId") + throw InvalidModelId(mdlId) /** * Checks length of field value.
