You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gyula Fora (Jira)" <ji...@apache.org> on 2022/11/01 09:51:00 UTC
[jira] [Closed] (FLINK-29794) Flink Operator Need to Include Cause for Exceptions If Possible
[ https://issues.apache.org/jira/browse/FLINK-29794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gyula Fora closed FLINK-29794.
------------------------------
Fix Version/s: kubernetes-operator-1.3.0
Resolution: Fixed
merged to main 3cbe58eee04bfd195520f172b56350077acb1875
> Flink Operator Need to Include Cause for Exceptions If Possible
> ---------------------------------------------------------------
>
> Key: FLINK-29794
> URL: https://issues.apache.org/jira/browse/FLINK-29794
> Project: Flink
> Issue Type: Improvement
> Components: Kubernetes Operator
> Affects Versions: kubernetes-operator-1.3.0
> Reporter: Zhou Jiang
> Priority: Major
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.3.0
>
>
> For easier debugging and consistent stack trace, it would be appreciated if Exceptions are always thrown with cause (if exists), instead of persisting string message & silently swallow the cause.
> This issue currently present in apache.flink.kubernetes.operator.reconciler.diff.ReflectiveDiffBuilder and apache.flink.kubernetes.operator.utils.EnvUtils
>
> We would like to suggest this as a pattern for future exception handling as well.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)