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

🐞 Sentry alert caused when deleting users #6192

Closed
jamesstottmoj opened this issue Nov 28, 2024 · 0 comments
Closed

🐞 Sentry alert caused when deleting users #6192

jamesstottmoj opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jamesstottmoj
Copy link
Contributor

Describe the bug.

When deleting certain users, sentry raises an User.DoesntExist alert when trying to remove a user's S3 bucket access. This could be due to the way tasks are handled and the order of users being deleted. This seems to be a rare occurrence as the vast majority of pruned users did not raise this error.

To Reproduce

  1. Go to a user through the all users page
  2. Delete user
  3. Get an error page

Expected Behaviour

User is deleted on press of button

Additional context

If the users doesn't exist as it's been deleted before trying to remove bucket access, catch the error and complete the task without trying to remove bucket access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🎉 Done
Development

No branches or pull requests

1 participant