Closed scanner closed 7 months ago
NOTE: huey task works if I try to update the email account later.. we should be called in the post_save
hook so the account should exist.
Also some of the pw entry creations worked. So maybe it was too many at once trying to access the sqlite db?
For now, attempting to create the pw entry at a later time is fine so we will catch the exception, log a warning and exit.
https://apricot-systematic.sentry.io/issues/4923555030/?alert_rule_id=14754796&alert_timestamp=1706490342864&alert_type=email&environment=production¬ification_uuid=fee56b4e-9cd4-4477-a3df-2f811b80429d&project=4506107525005312&referrer=alert_email
Specifically: https://github.com/scanner/as_email_service/blob/70c971e26a70488fac9abafb9c9d20ca6c6d8a95/app/as_email/tasks.py#L532
This was after setting up a new server. Likely a problem happened while auto-creating the default email accounts for a server.