Skip to content

Commit

Permalink
fix: remove return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Oct 27, 2023
1 parent 1756e91 commit 4c77c54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions event_routing_backends/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def send_tracking_log_to_backends(
sender, signal, **kwargs
): # pylint: disable=unused-argument
"""
Listen for the TRACKING_EVENT_EMITTED signal and send the event to the enabled backend.
Listen for the TRACKING_EVENT_EMITTED signal and send the event to the enabled backends.
"""
tracking_log = kwargs.get("tracking_log")

Expand All @@ -44,4 +44,3 @@ def send_tracking_log_to_backends(
send_event(name, processed_event, True)
except EventEmissionExit:
logger.info("[EventEmissionExit] skipping event {}".format(event["name"]))

Check warning on line 46 in event_routing_backends/handlers.py

View check run for this annotation

Codecov / codecov/patch

event_routing_backends/handlers.py#L45-L46

Added lines #L45 - L46 were not covered by tests
return

0 comments on commit 4c77c54

Please sign in to comment.