[ 
https://issues.apache.org/jira/browse/OOZIE-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238094#comment-16238094
 ] 

Rohini Palaniswamy commented on OOZIE-3101:
-------------------------------------------

Looks good. Couple of minor comments

1) oozie-error-code and oozie-error-message to httpcode and error-message
2) ErrorPageErrorHandler setup should be part of EmbeddedServletContainer by 
default. Should not be in test.
3) Can use IOUtils api to read connection error stream in testcase

> Oozie should add error message to the response body
> ---------------------------------------------------
>
>                 Key: OOZIE-3101
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3101
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Satish Subhashrao Saley
>            Assignee: Satish Subhashrao Saley
>            Priority: Major
>         Attachments: OOZIE-3101-1.patch, OOZIE-3101-2.patch
>
>
> For web service APIs, currently Oozie adds error message in a custom response 
> header which is parsed out by the OozieClient. Oozie should also put error 
> message in the response body so that clients like curl can display the error 
> message to users without having to turn on verbose output



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to