[
https://issues.apache.org/jira/browse/HDDS-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-12241.
-------------------------------------
Fix Version/s: 2.0.0
Resolution: Implemented
> Improve error message for FileSystemException
> ---------------------------------------------
>
> Key: HDDS-12241
> URL: https://issues.apache.org/jira/browse/HDDS-12241
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone CLI
> Reporter: Attila Doroszlai
> Assignee: Sreeja
> Priority: Major
> Labels: newbie, pull-request-available
> Fix For: 2.0.0
>
>
> Specific subclasses of {{FileSystemException}} rely on the exception name for
> indicating the problem, message only refers to the file(s) with the problem.
> Ozone CLI prints only the message when not in verbose mode. Thus the same
> {{some_file}} message may be shown for {{NoSuchFileException}},
> {{AccessDeniedException}} or {{FileAlreadyExistsException}}.
> This should be improved by checking the details of the exception and adding
> problem description if neccessary.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]