Skip to content

Commit ebfae28

Browse files
author
Michael Brewer
committed
fix(batch): clear exceptions for consistency
closes #1021
1 parent 77f86c0 commit ebfae28

File tree

1 file changed

+1
-0
lines changed
  • aws_lambda_powertools/utilities/batch

1 file changed

+1
-0
lines changed

aws_lambda_powertools/utilities/batch/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ def _prepare(self):
351351
"""
352352
self.success_messages.clear()
353353
self.fail_messages.clear()
354+
self.exceptions.clear()
354355
self.batch_response = copy.deepcopy(self.DEFAULT_RESPONSE)
355356

356357
def _process_record(self, record: dict) -> Union[SuccessResponse, FailureResponse]:

0 commit comments

Comments
 (0)