You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yun Gao (Jira)" <ji...@apache.org> on 2022/04/13 06:28:06 UTC

[jira] [Updated] (FLINK-24849) Only return stacktrace if RestHandlerException has a cause

     [ https://issues.apache.org/jira/browse/FLINK-24849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yun Gao updated FLINK-24849:
----------------------------
    Fix Version/s: 1.16.0

> Only return stacktrace if RestHandlerException has a cause
> ----------------------------------------------------------
>
>                 Key: FLINK-24849
>                 URL: https://issues.apache.org/jira/browse/FLINK-24849
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / REST
>            Reporter: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.15.0, 1.16.0
>
>
> Currently, we always return a full stack trace whenever an operation has failed. This has _some_ merit in cases where we don't _really_ know the underlying cause and have to provide as much information as possible.
> In certain error cases however the REST API returns an exception without a backing cause, when it can provide all the information required by the user to resolve the issue. In these cases the stack trace is ultimately just noise that we could exclude from the response.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)