[ 
https://issues.apache.org/jira/browse/THRIFT-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmytro Shteflyuk reassigned THRIFT-1911:
----------------------------------------

    Assignee: Dmytro Shteflyuk

> IOError not being caught in socket.rb
> -------------------------------------
>
>                 Key: THRIFT-1911
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1911
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.9
>            Reporter: Andrew Selder
>            Assignee: Dmytro Shteflyuk
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In Thrift::Socket#write at line 63, an IOError is raised if the socket is not 
> open.
> However this raise is outside of the being/rescue block of the method, so 
> this IOError propagates up instead of Thrift::TransportException. There is a 
> rescue class that rescues StandardError and wraps in a TransportException, 
> but is is not applied to this first line of the method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to