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 returning NoProjectFound for any project load error #985

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kennethloeffler
Copy link
Member

In #917, we accidentally changed ServeSession::new's project loading logic so that it always returns ServeSession::ProjectNotFound if the load fails for any reason. This PR fixes this so that it returns the right error when there is an error loading the project, and moves the NoProjectFound error to project::Error, since I think it makes more sense there.

@kennethloeffler kennethloeffler added the skip changelog PRs that may skip the changelog enforcement check label Nov 5, 2024
@kennethloeffler kennethloeffler changed the title Fix returning NoProjectFound session for any project load error Fix returning NoProjectFound for any project load error Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog PRs that may skip the changelog enforcement check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant