From 1da6515751db053e211b35aa52624c49396b6830 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 6 Jun 2022 13:26:19 -0400 Subject: [PATCH] Island: Remove superfluous log statement --- .../cc/repository/file_storage/local_storage_file_repository.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monkey/monkey_island/cc/repository/file_storage/local_storage_file_repository.py b/monkey/monkey_island/cc/repository/file_storage/local_storage_file_repository.py index c21846582..45f01b81b 100644 --- a/monkey/monkey_island/cc/repository/file_storage/local_storage_file_repository.py +++ b/monkey/monkey_island/cc/repository/file_storage/local_storage_file_repository.py @@ -44,7 +44,6 @@ class LocalStorageFileRepository(IFileRepository): logger.debug(f"Opening {safe_file_path}") return open(safe_file_path, "rb") except OSError as err: - logger.error(err) raise FileRetrievalError(f"Failed to retrieve file {safe_file_path}: {err}") from err def delete_file(self, unsafe_file_name: str):