Skip to content

Commit

Permalink
fix: f-strings in clone command exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdoster committed Oct 1, 2023
1 parent 610bf23 commit b02eefd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bdfr/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ def cli_clone(context: click.Context, **_) -> None:
reddit_scraper = RedditCloner(config, [stream])
reddit_scraper.download()
except Exception:
logger.exception("Scraper exited unexpectedly - BDFR Scraper v{__version__}")
logger.exception(f"Scraper exited unexpectedly - BDFR Scraper v{__version__}")
raise
else:
logger.info("Program complete - BDFR Cloner v{__version__}")
logger.info(f"Program complete - BDFR Cloner v{__version__}")


@cli.command("completions")
Expand Down

0 comments on commit b02eefd

Please sign in to comment.