[
https://issues.apache.org/jira/browse/LIVY-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal updated LIVY-54:
---------------------------
Fix Version/s: 0.10.0
(was: 0.9.0)
This issue has been moved to the 0.10.0 release as part of a bulk update. If
you feel this is moved out inappropriately, feel free to provide justification
and reset the Fix Version to 0.9.0.
> Return structured error
> -----------------------
>
> Key: LIVY-54
> URL: https://issues.apache.org/jira/browse/LIVY-54
> Project: Livy
> Issue Type: Improvement
> Components: API
> Affects Versions: 0.2
> Reporter: Alex Man
> Priority: Minor
> Fix For: 0.10.0
>
>
> Right now Livy returns errors in plain text (Another bug: but with
> Content-Type: application/json).
> As a backend, Livy should return structured error (in json?) so clients can
> parse and handle Livy's errors better.
> {noformat}
> {
> "message":"",
> "cause":"",
> "stackTrace":""
> }
> {noformat}
> Moreover, when Livy is running in development mode, it should return the
> cause and the stack trace too.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)