mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2025-10-29 17:40:15 +00:00
Uncomment error handling code
This commit is contained in:
@@ -462,10 +462,10 @@ def download(submissions):
|
||||
downloadedCount -= 1
|
||||
duplicates += 1
|
||||
|
||||
# except Exception as exception:
|
||||
# print(exception)
|
||||
# FAILED_FILE.add({int(i+1):[str(exception),submissions[i]]})
|
||||
# downloadedCount -= 1
|
||||
except Exception as exception:
|
||||
print(exception)
|
||||
FAILED_FILE.add({int(i+1):[str(exception),submissions[i]]})
|
||||
downloadedCount -= 1
|
||||
|
||||
else:
|
||||
print("No match found, skipping...")
|
||||
|
||||
Reference in New Issue
Block a user