You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Duru Can Celasun (Jira)" <ji...@apache.org> on 2020/01/06 09:43:00 UTC
[jira] [Updated] (THRIFT-5049) Process panic in generated processor
[ https://issues.apache.org/jira/browse/THRIFT-5049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duru Can Celasun updated THRIFT-5049:
-------------------------------------
Priority: Minor (was: Major)
> Process panic in generated processor
> ------------------------------------
>
> Key: THRIFT-5049
> URL: https://issues.apache.org/jira/browse/THRIFT-5049
> Project: Thrift
> Issue Type: Wish
> Components: Go - Compiler
> Affects Versions: 0.13.0
> Reporter: Serhii
> Priority: Minor
>
> Hello. In current version go generator doesn't provide functionality to handle panic in generated processor. You can pass defer function which will write TApplicationException to output protocol there https://github.com/apache/thrift/blob/0.13.0/compiler/cpp/src/thrift/generate/t_go_generator.cc#L2787.
>
> In current version on processor we need to process panic in custom server to send NewTApplicationException to clients and it is very uncomfortable.
> Thanks.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)