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

Make sure admins receive an error in case of exception in custom management command #226

Open
niconoe opened this issue Apr 25, 2023 · 0 comments
Assignees

Comments

@niconoe
Copy link
Member

niconoe commented Apr 25, 2023

On dev, due to recent changes in terms of multilanguages, the error notification emails were not sent anymore in English.

An exception was thrown by the management command, but it was not reported to the admin because it happened outside the request/response cycle. It would be good to improve that for robustness, possible approach at: https://mpcabd.xyz/make-django-management-commands-send-errors-email-admins/

@niconoe niconoe added enhancement New feature or request Cleanup / robustness labels Apr 25, 2023
@niconoe niconoe self-assigned this Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant