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

x.vweb: add error when static directory does not exist #20455

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

Casper64
Copy link
Member

@Casper64 Casper64 commented Jan 9, 2024

This pr improves error handling when the directory passed to StaticHandler can't be found.

It now returns an error when the static directory does not exist, instead of false.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

Co-authored-by: Delyan Angelov <delian66@gmail.com>
@spytheman spytheman merged commit 4640627 into vlang:master Jan 10, 2024
42 checks passed
@Casper64 Casper64 deleted the xveb_statichandler_errors branch January 25, 2024 21:12
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.

None yet

3 participants