You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Myroslav Papirkovskyy (JIRA)" <ji...@apache.org> on 2014/01/23 17:30:40 UTC
[jira] [Commented] (AMBARI-4335) Configure Jetty to return errors
as JSON
[ https://issues.apache.org/jira/browse/AMBARI-4335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880043#comment-13880043 ]
Myroslav Papirkovskyy commented on AMBARI-4335:
-----------------------------------------------
Committed to trunk
> Configure Jetty to return errors as JSON
> ----------------------------------------
>
> Key: AMBARI-4335
> URL: https://issues.apache.org/jira/browse/AMBARI-4335
> Project: Ambari
> Issue Type: Task
> Components: controller
> Affects Versions: 1.5.0
> Reporter: Myroslav Papirkovskyy
> Assignee: Myroslav Papirkovskyy
> Fix For: 1.5.0
>
>
> Currently for some http errors Jetty returns pretty bad formatted simple html page with error explanation.
> We should change this behavior to return errors as JSON in same format as for server internal errors to make them easily parsable by request schedule endpoint.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)