fix(scm): Remove exception squash#110764
Merged
Conversation
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Callers still pass removed
report_errorparameter- Removed the stale
report_errorkeyword argument from both webhook task call sites sorun_listeneris invoked with its current signature.
- Removed the stale
Or push these changes by commenting:
@cursor push b03baae548
Preview (b03baae548)
diff --git a/src/sentry/scm/private/ipc.py b/src/sentry/scm/private/ipc.py
--- a/src/sentry/scm/private/ipc.py
+++ b/src/sentry/scm/private/ipc.py
@@ -408,7 +408,6 @@
event_type_hint,
stream=scm_event_stream,
get_current_time=time.time,
- report_error=report_error_to_sentry,
record_count=record_count_metric,
record_distribution=record_distribution_metric,
record_timer=record_timer_metric,
@@ -430,7 +429,6 @@
event_type_hint,
stream=scm_event_stream,
get_current_time=time.time,
- report_error=report_error_to_sentry,
record_count=record_count_metric,
record_distribution=record_distribution_metric,
record_timer=record_timer_metric,This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
billyvg
approved these changes
Mar 16, 2026
Contributor
Backend Test FailuresFailures on
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


We're reporting to Sentry and we raise elsewhere in the function anyway. Might as well raise. Should make local testing a little easier.