1
0
Fork 0
mirror of synced 2024-06-25 17:40:17 +12:00

Add log entry at end of program

This commit is contained in:
Serene-Arc 2021-03-11 15:40:46 +10:00 committed by Ali Parlakci
parent 6657f0803d
commit fc6e5872b2

View file

@ -50,6 +50,8 @@ def cli_download(context: click.Context, **_):
reddit_downloader.download()
except BulkDownloaderException as e:
logger.critical(f'An error occured {e}')
finally:
logger.info('Program complete')
def _setup_logging(verbosity: int):