Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2908

Limited use Thrift::ApplicationException in Ruby

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.2
    • None
    • Ruby - Library
    • 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

          Activity

            People

              Unassigned Unassigned
              ahawkins Adam Hawkins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: