ctubbsii commented on code in PR #3952:
URL: https://github.com/apache/accumulo/pull/3952#discussion_r1392958930
##########
shell/src/main/java/org/apache/accumulo/shell/commands/ScanCommand.java:
##########
@@ -152,7 +152,8 @@ public int execute(final String fullCommand, final
CommandLine cl, final Shell s
} catch (NumberFormatException nfe) {
Shell.log.error("Arg must be an integer.", nfe);
} catch (IllegalArgumentException iae) {
- Shell.log.error("Arg must be greater than one.", iae);
+ Shell.log.error("{}", iae.getMessage(), iae);
Review Comment:
I think this is probably better:
```suggestion
Shell.log.error("Invalid length argument", 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]