Phillippko commented on code in PR #3671:
URL: https://github.com/apache/ignite-3/pull/3671#discussion_r1584651165


##########
modules/rest-api/src/main/java/org/apache/ignite/internal/rest/exception/handler/IgniteInternalExceptionHandler.java:
##########
@@ -37,9 +38,11 @@ public class IgniteInternalExceptionHandler implements 
ExceptionHandler<IgniteIn
 
     @Override
     public HttpResponse<? extends Problem> handle(HttpRequest request, 
IgniteInternalException exception) {
-        if (exception.code() == DistributionZones.ZONE_NOT_FOUND_ERR) {
+        if (exception.code() == DistributionZones.ZONE_NOT_FOUND_ERR

Review Comment:
   Made a collection of bad request errors and check if this set contains the 
code



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

Reply via email to