Skip to content

Commit

Permalink
Merge pull request #34 from nationalarchives/chore/dont-raise-on-read…
Browse files Browse the repository at this point in the history
…error

Don't raise ReadError or ProtocolError to Rollbar
  • Loading branch information
Floppy authored May 11, 2022
2 parents 8d20cee + c0e6e80 commit 0eaf017
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ds-caselaw-ingester/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@ def handler(event, context):
except (urllib3.exceptions.ProtocolError, tarfile.ReadError):
# Send retry message to sqs
send_retry_message(message, sqs_client)
# Raise error up to ensure it's logged
raise
except BaseException:
raise

Expand Down

0 comments on commit 0eaf017

Please sign in to comment.