1
0
Fork 0
mirror of synced 2024-05-29 16:40:06 +12:00

Correct logger message

This commit is contained in:
Serene-Arc 2021-04-05 14:54:26 +10:00 committed by Ali Parlakci
parent ab29e17511
commit 4b49991cd6

View file

@ -352,7 +352,7 @@ class RedditDownloader:
downloader = downloader_class(submission)
logger.debug(f'Using {downloader_class.__name__} with url {submission.url}')
except errors.NotADownloadableLinkError as e:
logger.error(f'Could not download submission {submission.name}: {e}')
logger.error(f'Could not download submission {submission.id}: {e}')
return
try: