You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James Haggerty (JIRA)" <ji...@apache.org> on 2014/04/07 04:41:14 UTC
[jira] [Commented] (THRIFT-2452) Python doesn't handle unexpected
Exceptions in server
[ https://issues.apache.org/jira/browse/THRIFT-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961617#comment-13961617 ]
James Haggerty commented on THRIFT-2452:
----------------------------------------
Should say that the oneway functions change behaviour - i.e. they discard all exceptions, since they can't return anything.
And now I remember (submitted patch a while after doing this) that I didn't try to update twisted or tornado, so this patch probably can't be applied as is. Sorry!
> 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 Thrift-378, the appropriate behaviour is to throw a TApplicationException with an INTERNAL_ERROR.
--
This message was sent by Atlassian JIRA
(v6.2#6252)