Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-cli: convert IllegalArgumentException to CommandException on c…
…all() Motivation: See `admin shell: stop reporting command syntax errors as bugs/stack traces` #7271 Modification: Consolidate the try-catch blocks. This allows catching IllegalArgumentException for both `handler.apply` and `call`. Result: No more false stack trace/bug output. Note: this fix is a palliative. There is a potential for it to mask actual bugs deeper in the code. But since this is only in the context of admin command execution, the problem is minor. Another GH issue (#7361) been opened to see how the more fundamental problem might be addressed. Target: master Request: 9.2 Request: 9.1 Request: 9.0 Request: 8.2 Requires-notes: yes Patch: https://rb.dcache.org/r/14103 Closes: #7271 Acked-by: Tigran
- Loading branch information