Skip to content

Commit

Permalink
Merge pull request #128 from launchdarkly/eb/ch65536/diag-events-warn…
Browse files Browse the repository at this point in the history
…ings

fix spurious error after sending diagnostic event
  • Loading branch information
eli-darkly authored Feb 12, 2020
2 parents 1b0be34 + 13ddc54 commit a4fc092
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ldclient/event_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ def run(self):
timeout=urllib3.Timeout(connect=self._config.connect_timeout, read=self._config.read_timeout),
body=json_body,
retries=1)
if (self._response_fn):
self._response_fn(r)
except Exception as e:
log.warning(
'Unhandled exception in event processor. Diagnostic event was not sent. [%s]', e)
Expand Down

0 comments on commit a4fc092

Please sign in to comment.