Sending again to the correct list:

In our use of the thrift PHP libs, it's been useful to have TSocket throw TTransportException instead of plain TException so we can catch socket exceptions separately from other thrift errors. Attached is a simple patch that also makes use of the TTransportException error constants.

Hope this is useful and can be applied upstream.


_______

James Wheare, Web Developer
http://www.last.fm/user/jwheare
Last.fm, Karen House, 1-11 Baches Street, London N1 6DL

Reply via email to