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

Poor error handling when creating a domain in a namespace that doesn't exist. #146

Closed
mmacfadden opened this issue Jun 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working server Issues related to the server
Milestone

Comments

@mmacfadden
Copy link
Contributor

Versions

  • Convergence Version: 1.0.0-rc.6

Describe the Bug
When POSTing to the REST API at /domains to create a new domain in a namespace that doesn't exist the response is an internal server error.

Expected Behavior
We should return a 400 response with a message and code indicated the namespace is not found.

@mmacfadden mmacfadden added bug Something isn't working server Issues related to the server labels Jun 27, 2020
@mmacfadden mmacfadden added this to the 1.0.0-rc.7 milestone Jun 27, 2020
@mmacfadden mmacfadden self-assigned this Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server Issues related to the server
Projects
None yet
Development

No branches or pull requests

1 participant