Attila Doroszlai created HDDS-12241:
---------------------------------------

             Summary: 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: Attila Doroszlai


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]

Reply via email to