thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DanielYWoo <...@git.apache.org>
Subject [GitHub] thrift issue #1240: return full error message when exception happens
Date Mon, 10 Apr 2017 03:56:49 GMT
Github user DanielYWoo commented on the issue:

    https://github.com/apache/thrift/pull/1240
  
    Thanks for explanation. In our case, we have a web server layer on top of many layers
of backends which communicate in thrift, e,g. 
    
    > web server -> backend A -> backend B -> backend C.
    
    It will be very difficult for trouble shooting on the web server or backend A. Since we
will never ever show exception message from the web server to the browser or client app, so
there is no way to trigger an exception and see the details of the backend servers. I believe
the developers of the web servers or API gateways have the responsibility to keep the details
no leaking to the outside of the world. Enforcing security at the thrift layer is fine but
I just hope there is an alternative or option to enable this. 
    
    Would you accept a global configurable variable for this?
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message