[ 
https://issues.apache.org/jira/browse/IGNITE-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508786#comment-15508786
 ] 

Valentin Kulichenko commented on IGNITE-3770:
---------------------------------------------

Roman,

Let's just change signatures and refactor the code. This is not part of public 
API, so no reason to preserve compatibility.

> GridLogThrottle.warn ignores the exception
> ------------------------------------------
>
>                 Key: IGNITE-3770
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3770
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.7
>            Reporter: Valentin Kulichenko
>            Assignee: Roman Shtykh
>            Priority: Critical
>             Fix For: 1.8
>
>
> There are two ways to fix this:
> * Make sure that {{warn()}} method prints out the stack trace of the provided 
> exception.
> * Remove exception parameter from the {{warn()}} method and replace all such 
> usages with {{error()}}.
> I personally think that the second approach is clearer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to