You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Krishna Kumar Asawa (Jira)" <ji...@apache.org> on 2025/02/10 04:28:00 UTC

[jira] [Updated] (HDDS-12241) Improve error message for FileSystemException

     [ https://issues.apache.org/jira/browse/HDDS-12241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krishna Kumar Asawa updated HDDS-12241:
---------------------------------------
    Labels: newbie  (was: )

> 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
>            Priority: Major
>              Labels: newbie
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org