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: panic when user requests non built config #28

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

kpetremann
Copy link
Contributor

When a device fails to build, the pointer to the device is a nil pointer.

When an user was requesting the configuration of a device which never built successfully, a panic occured.
Now it returns a 500 error with an empty dict.

When a device fails to build, the pointer to the device is a nil
pointer.

When an user was requesting the configuration of a device which never
built successfully, a panic occured.
@kpetremann kpetremann requested review from a team January 10, 2024 17:07
@kpetremann kpetremann merged commit db05db1 into criteo:main Jan 11, 2024
2 checks passed
@kpetremann kpetremann deleted the panic_not_built_device branch January 11, 2024 09:36
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.

2 participants