Twisted servers close the connection with no error response when an unhandled error occurs ------------------------------------------------------------------------------------------
Key: THRIFT-803 URL: https://issues.apache.org/jira/browse/THRIFT-803 Project: Thrift Issue Type: Bug Components: Library (Python) Affects Versions: 0.2 Environment: Debian, Ubuntu Reporter: Christopher Armstrong When an unhandled error occurs in a service handler, the connection is closed but no message is sent to the client to indicate that an error occurred. Mattias de Zalenski first mentioned this issue in a comment: https://issues.apache.org/jira/browse/THRIFT-585?focusedCommentId=12757052&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12757052 And he attached a fix for it, though in an undesirable format (changing the compiler instead of the library, and as an entire .cc file instead of a patch): https://issues.apache.org/jira/secure/attachment/12419992/t_py_generator.cc IMO, in addition to sending back an error message to the client, unhandled errors should also be logged with log.err(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.