You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Regeda (JIRA)" <ji...@apache.org> on 2015/03/31 21:24:53 UTC

[jira] [Closed] (THRIFT-3064) Default handler for undeclared exceptions in PHP processor

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

Anthony Regeda closed THRIFT-3064.
----------------------------------
    Resolution: Not a Problem

> Default handler for undeclared exceptions in PHP processor
> ----------------------------------------------------------
>
>                 Key: THRIFT-3064
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3064
>             Project: Thrift
>          Issue Type: Improvement
>          Components: PHP - Compiler
>    Affects Versions: 0.9.3
>         Environment: Binary and json protocols in PHP server app
>            Reporter: Anthony Regeda
>            Assignee: Jens Geyer
>
> PHP app crashes on every undeclared exception.
> But it isn't necessary declare all internal exceptions (like RedisException, DoctrineException, etc.) in .thrift file. They should be catched and serialized by Thrift into TApplicationException (aka INTERNAL_ERROR).  
> It will be more informative than plane 500 HTTP code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)