Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a non existent file fails with 500 #203

Open
diocas opened this issue Nov 16, 2022 · 0 comments
Open

Getting a non existent file fails with 500 #203

diocas opened this issue Nov 16, 2022 · 0 comments
Labels

Comments

@diocas
Copy link
Contributor

diocas commented Nov 16, 2022

A GET to a non existent file, on a folder that also does not exists, should not fail:

Error while reading container: /my/path/test.txt error listing container: path:"/my/path/"
    Traceback (most recent call last):
      File "/Users/dalvesde/Workspace/proj-swan/dev-qa-update/cs3api4lab/cs3api4lab/api/cs3apismanager.py", line 91, in file_exists
        cs3_container = self.file_api.read_directory(parent_path, self.cs3_config.endpoint)
      File "/Users/dalvesde/Workspace/proj-swan/dev-qa-update/cs3api4lab/cs3api4lab/api/cs3_file_api.py", line 194, in read_directory
        raise IOError(res.status.message)
    OSError: error listing container: path:"/my/path/" 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant