rpuch commented on code in PR #3447:
URL: https://github.com/apache/ignite-3/pull/3447#discussion_r1533724480


##########
modules/core/src/main/java/org/apache/ignite/internal/table/criteria/CriteriaExceptionMapperUtil.java:
##########
@@ -57,10 +57,6 @@ public static Throwable 
mapToPublicCriteriaException(Throwable origin) {
             return e;
         }
 
-        if (e instanceof SqlException) {
-            return new CriteriaException(INTERNAL_ERR, e);

Review Comment:
   Yes, this breaks propagation of the real error code to the user



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to