You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "ddanielr (via GitHub)" <gi...@apache.org> on 2023/01/25 21:37:41 UTC

[GitHub] [accumulo] ddanielr commented on a diff in pull request #3173: WIP: Property Validation handling on backend

ddanielr commented on code in PR #3173:
URL: https://github.com/apache/accumulo/pull/3173#discussion_r1087206989


##########
server/manager/src/main/java/org/apache/accumulo/manager/ManagerClientServiceHandler.java:
##########
@@ -434,7 +441,7 @@ public void setSystemProperty(TInfo info, TCredentials c, String property, Strin
       throw iae;
     } catch (Exception e) {
       Manager.log.error("Problem setting config property in zookeeper", e);
-      throw new TException(e.getMessage());
+      throw new ThriftPropertyException(property, value, e.getMessage());

Review Comment:
   Yes, I moved up my Thrift property Exception to handle the caught `iae`



-- 
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-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org