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: respond 404 when asked to delete unknown domain #20

Merged

Conversation

frasertweedale
Copy link
Contributor

Currently when deleting an unknown record the service responds with 500 Internal Server Error. Discriminate this case and respond with 404 Not Found instead.

Currently when deleting an unknown record the service responds with
500 Internal Server Error.  Discriminate this case and respond with
404 Not Found instead.
Copy link
Contributor

@avisiedo avisiedo left a comment

Choose a reason for hiding this comment

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

LGTM

@avisiedo avisiedo merged commit 235a875 into podengo-project:main Oct 17, 2023
1 check passed
@frasertweedale frasertweedale deleted the fix/delete-not-found-respond-404 branch October 17, 2023 12:02
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.

3 participants