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

Return 404 if no current deploy exists #1736

Merged
merged 3 commits into from
Oct 31, 2024
Merged

Conversation

tylerwowen
Copy link
Contributor

The current implementation let getDeploySafely handle deployId being null and throws an exception that will eventually be mapped to 500. To improve the usability of this API, explicitly throw 404 if deployId is blank.

@tylerwowen tylerwowen requested a review from a team as a code owner October 30, 2024 18:28
@github-actions github-actions bot added the deploy-service Includes changes to deploy-service label Oct 30, 2024
@tylerwowen tylerwowen merged commit a3d5a1e into master Oct 31, 2024
6 checks passed
@tylerwowen tylerwowen deleted the touyang/current-deploy branch October 31, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-service Includes changes to deploy-service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants