Skip to content

Commit

Permalink
Fix Pytest Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkwyu committed Apr 24, 2024
1 parent a13e3a7 commit 242815e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions anime_dl/anime_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@ def main(url: str) -> None:
for episode in episodes:
video_url_validator.validate(episode)
downloader.download(episode)
except:
logger.error(traceback.format_exc())
except Exception as e:
logger.error(traceback.format_exc())
raise e

0 comments on commit 242815e

Please sign in to comment.