Skip to content

Commit c80cc86

Browse files
committed
fix: Fix incorrect event count in failure message
1 parent 42dbbf7 commit c80cc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldclient/impl/events/event_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def _do_send(self, output_events):
218218
json_body = json.dumps(output_events, separators=(',', ':'))
219219
log.debug('Sending events payload: ' + json_body)
220220
payload_id = str(uuid.uuid4())
221-
r = _post_events_with_retry(self._http, self._config, self._config.events_uri, payload_id, json_body, "%d events" % len(self._payload.events))
221+
r = _post_events_with_retry(self._http, self._config, self._config.events_uri, payload_id, json_body, "%d events" % len(output_events))
222222
if r:
223223
self._response_fn(r)
224224
return r

0 commit comments

Comments
 (0)