Repository navigation
Reading a nonexisting file succeeds #772
Copy link
Copy link
Closed
Labels
coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Activity
Sorry, I must have overlooked the log message:
Error opening a gcs file triggers/gcsfile-VjpUNk.json: Error: Error during request.So everything is fine. I'm just surprised I also got some content.
This is probably FAD.Update - I originally posted an issue that turned out not to relate. I removed that to avoid the noise.
I think this is worth taking a look at. Most likely, our universal request dispatcher needs some tweaking.
Thanks for opening the issue!
- addedtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
on Jul 31, 2015 - added a commit that references this issue
on Jul 23, 2025 - added a commit that references this issue
on Jan 27, 2026 5 remaining items
- added a commit that references this issue
on Jan 28, 2026 - added 4 commits that reference this issue
on Jan 29, 2026 - added a commit that references this issue
on Feb 17, 2026 - added a commit that references this issue
on Mar 11, 2026 - added a commit that references this issue
on Mar 18, 2026 - added a commit that references this issue
on Mar 27, 2026 - added a commit that references this issue
on May 5, 2026
Metadata
Metadata
Assignees
Labels
coretype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
I tried to open an nonexisting file. It succeeded and gave me the following contents:
I'd prefer the function threw an exception of called 'error'.
My code
output:
got file data:
NoSuchKeyThe specified key does not exist.EDIT: I actually also got an error message, see below.