-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Exception on invalid environment #10207
Labels
Comments
im actually seeing this error on import with undefined environment in 2.33.7 edit: looks like this dd instance did not get the default environments created, somehow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Be informative
DD raises an exception (HTTP-500 - internal server error) if a user uses a name of an non-existing environment in (re)imports
Bug description
ImportScanSerializer.set_context
andReImportScanSerializer.set_context
useswhich is able to handle not defined
environment
but does not handle non-existenting oneSteps to reproduce
Expected behavior
There are 2 options
set_context
is happening outside of AutoCreate contextDeployment method (select with an
X
)Environment information
Logs
The text was updated successfully, but these errors were encountered: