Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.2
-
None
-
None
Description
I'm implementing a bunch of Thrift servers in Ruby. I'm trying to figure out how to use Thrift::ApplicationException for error handling. I came across a link on stack overflow http://stackoverflow.com/questions/27312244/general-error-handling-in-apache-thrift that documents exactly what I'm trying to do but applied to the delphi library. The fix (THRIFT-2860) has been merged and set for 0.9.3 release. I'm investigating the generated ruby code and it seems Thrift::ApplicationException is only used in the clients, and never mentioned in any of the server or processor code. Is it possible to implement a similar fix for ruby severs, or should I define a generic exception and have all RPC's throw that as a work around?
Attachments
Issue Links
- is related to
-
THRIFT-2975 Graceful handing of unexpected errors
- Open