ravxz commented on code in PR #11687: URL: https://github.com/apache/ignite/pull/11687#discussion_r1862274841
########## modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/compute/ClientComputeTask.java: ########## @@ -114,7 +114,10 @@ void execute(long taskId, String taskName, Object arg, Set<UUID> nodeIds, byte f // Fail fast. if (taskFut.isDone() && taskFut.error() != null) - throw new IgniteClientException(ClientStatus.FAILED, taskFut.error().getMessage()); + if (ctx.kernalContext().clientListener().sendServerExceptionStackTraceToClient()) + throw new IgniteClientException(ClientStatus.FAILED, taskFut.error().getMessage(), taskFut.error()); + else + throw new IgniteClientException(ClientStatus.FAILED, taskFut.error().getMessage()); Review Comment: provided a couple of unit tests -- 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. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org