You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/07/26 02:13:04 UTC

[jira] [Created] (THRIFT-3269) error handling issue in SimpleServer

Jens Geyer created THRIFT-3269:
----------------------------------

             Summary: error handling issue in SimpleServer
                 Key: THRIFT-3269
                 URL: https://issues.apache.org/jira/browse/THRIFT-3269
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
            Reporter: Jens Geyer


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.

{code}
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
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)