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: