Skip to content

Commit 30767a6

Browse files
committed
Adjusted one comment
1 parent 8fa9370 commit 30767a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batch_processor_filter/src/exception_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def exception_wrapper(*args, **kwargs):
1515
try:
1616
func(*args, **kwargs)
1717
except EventAlreadyProcessingForSupplierAndVaccTypeError as exc:
18-
# Re-raise so event will be returned and retried for this known error
18+
# Re-raise so event will be returned to SQS and retried for this expected error
1919
raise exc
2020
except Exception as exc: # pylint:disable = broad-exception-caught
2121
logger.error("An unhandled exception occurred in the batch processor filter Lambda", exc_info=exc)

0 commit comments

Comments
 (0)