ptupitsyn commented on a change in pull request #8169:
URL: https://github.com/apache/ignite/pull/8169#discussion_r473841728
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/ClientRequestHandler.java
##########
@@ -115,7 +116,7 @@
int status = e instanceof IgniteClientException ?
((IgniteClientException)e).statusCode() : ClientStatus.FAILED;
- return new ClientResponse(req.requestId(), status, e.getMessage());
+ return new ClientResponse(req.requestId(), status,
X.getFullStackTrace(e));
Review comment:
Please see this discussion:
http://apache-ignite-developers.2346864.n4.nabble.com/Exception-handling-in-thin-client-should-we-pass-stack-traces-to-the-client-td22392.html
If we want to expose server stack traces to thin clients, this should be
configurable and disabled by default.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]