[
https://issues.apache.org/jira/browse/FLINK-7979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hai Zhou UTC+8 updated FLINK-7979:
----------------------------------
Description:
I found some code that logging an exception, through convert the exception to
string or call .getMessage. __.getMessage()__.
I think the better way is to use the Logger method overloads which take
__`Throwable`__ as a parameter.
was:
I found some code that logging an exception by call __.getMessage()__.
I think the better way is to use the Logger method overloads which take
__`Throwable`__ as a parameter.
> Use Log.*(Object, Throwable) overload to log exceptions
> -------------------------------------------------------
>
> Key: FLINK-7979
> URL: https://issues.apache.org/jira/browse/FLINK-7979
> Project: Flink
> Issue Type: Improvement
> Affects Versions: 1.4.0
> Reporter: Hai Zhou UTC+8
> Assignee: Hai Zhou UTC+8
> Priority: Critical
> Fix For: 1.5.0
>
>
> I found some code that logging an exception, through convert the exception to
> string or call .getMessage. __.getMessage()__.
> I think the better way is to use the Logger method overloads which take
> __`Throwable`__ as a parameter.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)