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

Red Daly commented on THRIFT-2167:
----------------------------------

The patch prevents the function from throwing an error if no options argument 
is passed.  In other words, it fixes the bug.

Apologies for the confusing description earlier.
                
> nodejs lib throws error if options argument isn't passed
> --------------------------------------------------------
>
>                 Key: THRIFT-2167
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2167
>             Project: Thrift
>          Issue Type: Bug
>          Components: Node.js - Library
>            Reporter: Red Daly
>            Priority: Trivial
>         Attachments: thrift-2167-fix-options.patch
>
>   Original Estimate: 2m
>  Remaining Estimate: 2m
>
> exports.Connection is a function of two arguments: stream and options.  
> Options is an optional argument, but the function fails if it is omitted.  
> This behavior (function failing) is a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to