Skip to content

Commit

Permalink
Log an exception when cookie file isn't found
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Nov 1, 2024
1 parent 3234ed4 commit 7d5271d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pycookiecheat/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def _copy_if_exists(src: list[Path], dest: Path) -> None:
for file in src:
try:
shutil.copy2(file, dest)
except FileNotFoundError:
pass
except FileNotFoundError as e:
logger.exception(e)


def _load_firefox_cookie_db(
Expand Down

0 comments on commit 7d5271d

Please sign in to comment.