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

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

jeking3 commented on issue #1602: THRIFT-4645: TCurlClient: include failure 
reason in exception
URL: https://github.com/apache/thrift/pull/1602#issuecomment-426655003
 
 
   I'd say as long as this doesn't expose any stack frame information (anything 
that would be considered a security leak) it should be fine.  Can you post an 
example of the new output?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> TCurlClient: show actual error message when throwing TTransportException
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-4645
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4645
>             Project: Thrift
>          Issue Type: Improvement
>          Components: PHP - Library
>            Reporter: James Johnston
>            Priority: Minor
>              Labels: pull-request-available
>
> The TCurlClient does not create a very informative error message when 
> throwing TTransportException.  In particular, the PHP "curl_error" function 
> is a valuable source of information when "curl_exec" fails, and I think it 
> would be highly useful to include that message when throwing 
> TTransportException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to