Skip to content

Commit

Permalink
debug error
Browse files Browse the repository at this point in the history
  • Loading branch information
erlichsefi committed Oct 22, 2024
1 parent 9293842 commit 9a18668
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion il_supermarket_scarper/engines/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def _save_and_extract(self, file_link, file_save_path):
# try to download the file
try:
file_save_path_with_ext = self.retrieve_file(file_link, file_save_path)
except Exception: # pylint: disable=broad-except
except Exception as e: # pylint: disable=broad-except
Logger.warning(f"Error downloading {file_link}: {e}")
file_save_path_with_ext = wget_file(file_link, file_save_path)
downloaded = True

Expand Down

0 comments on commit 9a18668

Please sign in to comment.