diff --git a/shippers/es.py b/shippers/es.py index 97b48863..ce5de6c3 100644 --- a/shippers/es.py +++ b/shippers/es.py @@ -343,7 +343,6 @@ def _send_dead_letter_index(self, actions: list[Any]) -> list[Any]: # If no action can be encoded, return original action list as failed if len(encoded_actions) == 0: - shared_logger.info(f"no actions to forward to dead letter index; returning {len(non_indexed_actions)} non_indexed_actions") return non_indexed_actions errors = es_bulk(self._es_client, encoded_actions, **self._bulk_kwargs) diff --git a/tests/handlers/aws/test_integrations.py b/tests/handlers/aws/test_integrations.py index 8e3bbd92..3c075109 100644 --- a/tests/handlers/aws/test_integrations.py +++ b/tests/handlers/aws/test_integrations.py @@ -4445,7 +4445,7 @@ def test_es_dead_letter_index_with_excluded_action_error(self) -> None: elasticsearch_url: "{self.elasticsearch.get_url()}" es_dead_letter_index: "{dead_letter_index_name}" es_dead_letter_forward_errors: - - fail_processor_exception + - non_existent_error ssl_assert_fingerprint: {self.elasticsearch.ssl_assert_fingerprint} username: "{self.secret_arn}:username" password: "{self.secret_arn}:password"