[
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)