Skip to content

Commit

Permalink
remove redundant logs from Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier authored and redshiftzero committed May 12, 2020
1 parent 084a4c7 commit 2ba00d7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions securedrop_client/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,6 @@ def on_message_download_failure(self, exception: DownloadException) -> None:
"""
Called when a message fails to download.
"""
logger.info('Failed to download message: {}'.format(exception))

if isinstance(exception, DownloadChecksumMismatchException):
# Keep resubmitting the job if the download is corrupted.
logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid))
Expand Down Expand Up @@ -694,8 +692,6 @@ def on_reply_download_failure(self, exception: DownloadException) -> None:
"""
Called when a reply fails to download.
"""
logger.info('Failed to download reply: {}'.format(exception))

if isinstance(exception, DownloadChecksumMismatchException):
# Keep resubmitting the job if the download is corrupted.
logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid))
Expand Down Expand Up @@ -828,8 +824,6 @@ def on_file_download_failure(self, exception: Exception) -> None:
"""
Called when a file fails to download.
"""
logger.info('Failed to download file: {}'.format(exception))

# Keep resubmitting the job if the download is corrupted.
if isinstance(exception, DownloadChecksumMismatchException):
logger.warning('Failure due to checksum mismatch, retrying {}'.format(exception.uuid))
Expand Down

0 comments on commit 2ba00d7

Please sign in to comment.