Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions sentry_sdk/spotlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ def __init__(self, url):

def capture_envelope(self, envelope):
# type: (Envelope) -> None
if self.tries > 3:
sentry_logger.warning(
"Too many errors sending to Spotlight, stop sending events there."
)
return
body = io.BytesIO()
envelope.serialize_into(body)
try:
Expand All @@ -60,7 +55,7 @@ def capture_envelope(self, envelope):
)
req.close()
except Exception as e:
self.tries += 1
# TODO: Implement buffering and retrying with exponential backoff
sentry_logger.warning(str(e))


Expand Down
Loading