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

error handling issue in SimpleServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Go - Library
    • None

    Description

      There is error handling issue in SimpleServer, which supresses errors instead of properly handling them. If the comparingly simple fix is applied, one of the Xception test fails all of a sudden.

      2015/07/26 01:52:32 error processing request: TException
      2015/07/26 01:52:32 error processing request: TException
      --- FAIL: TestTJSONProtocol (0.06s)
              thrifttest_driver.go:224: TestException Xception failed
      2015/07/26 01:52:32 error processing request: TException
      2015/07/26 01:52:32 error processing request: TException
      --- FAIL: TestTBinaryProtocol (0.08s)
              thrifttest_driver.go:224: TestException Xception failed
      2015/07/26 01:52:32 error processing request: TException
      2015/07/26 01:52:32 error processing request: TException
      --- FAIL: TestTCompactProtocol (0.07s)
              thrifttest_driver.go:224: TestException Xception failed
      FAIL
      FAIL    tests   0.398s
      

      Attachments

        1. simple-server.patch
          0.7 kB
          Jens Geyer

        Activity

          People

            Unassigned Unassigned
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: