You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/11/09 14:36:00 UTC

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

Chesnay Schepler created FLINK-24849:
----------------------------------------

             Summary: 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
             Fix For: 1.15.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)