[ 
https://issues.apache.org/jira/browse/THRIFT-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Haggerty updated THRIFT-2452:
-----------------------------------

    Attachment: thrift-2452-python-unexpected-exceptions.patch

This patch implements it in the generator (and cleans up some of the exception 
handling there).

Also fixed existing test for this situation, which was succeeding 
inappropriately due to Exception catching the fail.

> Python doesn't handle unexpected Exceptions in server
> -----------------------------------------------------
>
>                 Key: THRIFT-2452
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2452
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler, Python - Library
>            Reporter: James Haggerty
>         Attachments: thrift-2452-python-unexpected-exceptions.patch
>
>
> Based on #378, the appropriate behaviour at the moment is to throw a 
> TApplicationException with an INTERNAL_ERROR.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to