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

ASF GitHub Bot commented on THRIFT-3927:
----------------------------------------

GitHub user lifei opened a pull request:

    https://github.com/apache/thrift/pull/1087

    THRIFT-3927 Emitting an error instead of throwing in the async callback

    Because the data event of a connection is async handled, throw an exception 
can not tell the code the error. emit the error should be the correct way to 
handle the errors.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lifei/thrift fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1087.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1087
    
----
commit f0b1d5eaf3a6ae7d006edda26cf0c13df524d044
Author: lifei <lifei....@outlook.com>
Date:   2016-09-14T10:18:32Z

    THRIFT-3927 Emit an error instead of throw an error in the async callback

----


> Emit an error instead of throw an error in the async callback
> -------------------------------------------------------------
>
>                 Key: THRIFT-3927
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3927
>             Project: Thrift
>          Issue Type: Improvement
>            Reporter: 李飛
>
> because the data event of a connection is async handled, throw an exception 
> can not tell the code the error. emit the error should be the correct way to 
> handle the errors.



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

Reply via email to