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

Raise exception when user attempts to get status of container not built by container service #40

Open
BenGalewsky opened this issue Dec 9, 2022 · 0 comments

Comments

@BenGalewsky
Copy link
Contributor

Problem

The container build status REST endpoint only makes sense for containers that were built by the container service. Right now if the endpoint is invoked on a manually created container it throws a ContainerNotFound exception which is not exactly correct or easy to make sense of.

Approach

Create a new exception class ContainerStatusNotValid to report this correctly

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

No branches or pull requests

1 participant