Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.1
-
None
-
None
-
Ubuntu, trunk Thrift.
Description
test/test.sh fails for all Python servers for this reason.
In ThriftTest.thrift, it says that implementation of the service should raise TException when the input to testException equals "TException". However, the generated Python code only forwards exceptions to clients if they are of the types declared in the service definition. If you raise an exception of another type, the server simply does not respond. This strikes me as a bug (at the very least, it is different from the behavior on C++), since the behavior is inconsistent across languages and the test cannot possibly pass when the server is written in Python.
Attachments
Issue Links
- is related to
-
THRIFT-3600 Make TTwisted server send exception on unexpected handler error
- Closed
-
THRIFT-3602 Make Tornado server send exception on unexpected handler error
- Closed