[
https://issues.apache.org/jira/browse/THRIFT-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King III closed THRIFT-803.
------------------------------------
Resolution: Auto Closed
Assignee: James E. King III
Issue is quite old and may no longer be valid. Reopen it if you find it is
broken in 0.12.0.
> 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: Python - Library
> Affects Versions: 0.2
> Environment: Debian, Ubuntu
> Reporter: Christopher Armstrong
> Assignee: James E. King III
> Priority: Major
>
> 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 was sent by Atlassian JIRA
(v7.6.3#76005)