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

Fix file err NotExist returning 500 instead of 404 #54

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

QuintenQVD0
Copy link
Contributor

Changes

Makes the middleware not error out if a file does not exist and make wings return 404 as for some reason the asFilesystemError function code seems to be ignored

Closes

#48

@parkervcp parkervcp merged commit 11d6284 into pelican-dev:main Dec 12, 2024
6 checks passed
@QuintenQVD0 QuintenQVD0 deleted the fileNotFound-404 branch December 14, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants