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

Remove unused Honeybadger notification #27432

Merged
merged 1 commit into from Mar 8, 2019

Conversation

islemaster
Copy link
Contributor

This query and notification in User#track_level_progress_sync always runs right after PeerReview.create_for_submission, which is guaranteed to create two peer reviews if it creates any at all. That would explain why we've never run this notification.

If we do fail to create peer reviews, it will be because of an exception causing the wrapper transaction to roll back, and the transaction wrapper would re-raise the exception so it would end up in Honeybadger anyway.

This query and notification in User#track_level_progress_sync always runs right after PeerReview.create_for_submission, which is guaranteed to create two peer reviews if it creates any at all.  That would explain why we've never run this notification.

If we _do_ fail to create peer reviews, it will be because of an exception causing the wrapper transaction to roll back, and the transaction wrapper would re-raise the exception so it would end up in Honeybadger anyway.
@islemaster islemaster force-pushed the remove-unused-hb-notification branch from 4d6c024 to d8fc639 Compare March 8, 2019 20:53
@islemaster islemaster merged commit 2e347ef into staging Mar 8, 2019
@islemaster islemaster deleted the remove-unused-hb-notification branch March 8, 2019 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant