Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.7
-
None
Description
when I upgrade zookeeper from 3.4.13 to 3.5.7 in my application, I find the function processCmd in ZooKeeperMain.java is just like blow
protected boolean processCmd(MyCommandOptions co) throws CliException, IOException, InterruptedException { boolean watch = false; try { watch = processZKCmd(co); exitCode = ExitCode.EXECUTION_FINISHED.getValue(); } catch (CliException ex) { exitCode = ex.getExitCode(); System.err.println(ex.getMessage()); } return watch; }
it throws CliException which has been caught in the funciton, so I think it can be removed.
Attachments
Attachments
Issue Links
- links to