You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2020/10/09 08:45:00 UTC
[jira] [Commented] (NLPCRAFT-146) Intercept and improvе akka rejection messages
[ https://issues.apache.org/jira/browse/NLPCRAFT-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210730#comment-17210730 ]
Sergey Kamov commented on NLPCRAFT-146:
---------------------------------------
Please look at org.apache.nlpcraft.server.rest.NCBasicRestApi#getRejectionHandler - and fix all messages using necessary data from concrete errors.
> Intercept and improvе akka rejection messages
> ---------------------------------------------
>
> Key: NLPCRAFT-146
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-146
> Project: NLPCraft
> Issue Type: Improvement
> Components: server
> Reporter: Sergey Kamov
> Assignee: Sergey Kamov
> Priority: Major
> Fix For: 0.8.0
>
>
> Example
> {color:#1d1c1d} “msg”: “Bad request: MalformedRequestContentRejection(Object is missing required member \u0027passwd\u0027,spray.json.DeserializationException: Object is missing required member \u0027passwd\u0027)”{color}
>
> {color:#1d1c1d}it is too long{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)