[ https://issues.apache.org/jira/browse/THRIFT-3927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495274#comment-15495274 ]
ASF GitHub Bot commented on THRIFT-3927: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/thrift/pull/1087 > 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 > Components: Node.js - Library > 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)