thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (THRIFT-4127) The error message in TException isn't being propagated to the client
Date Fri, 01 Feb 2019 05:23:00 GMT

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

James E. King III closed THRIFT-4127.
-------------------------------------
    Resolution: Won't Do
      Assignee: James E. King III

Sending a message from TException would be a security issue since it would detail server,
protocol, or transport internal messages.  You can use TApplicationException or an exception
you derive from it in the Thrift IDL from your handler code if you want to get an error message
back to the client.

> The error message in TException isn't being propagated to the client
> --------------------------------------------------------------------
>
>                 Key: THRIFT-4127
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4127
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.10.0
>            Reporter: Nikolay Metchev
>            Assignee: James E. King III
>            Priority: Major
>
> The error message held in TException isn't making it across the wire to the client.
> It seems ProcessFunction is ignoring the error message and replacing it with a generic
"Internal error processing <methodName>".
> Ideally the error message in TException would make it across so the client gets a more
meaningful response.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message