feat(UI): initial working frontend UI
This commit is contained in:
+5
-1
@@ -20,6 +20,7 @@ class RedditCloner(RedditDownloader, Archiver):
|
||||
|
||||
def download(self):
|
||||
for generator in self.reddit_lists:
|
||||
submission = None
|
||||
try:
|
||||
for submission in generator:
|
||||
try:
|
||||
@@ -28,6 +29,9 @@ class RedditCloner(RedditDownloader, Archiver):
|
||||
except prawcore.PrawcoreException as e:
|
||||
logger.error(f"Submission {submission.id} failed to be cloned due to a PRAW exception: {e}")
|
||||
except prawcore.PrawcoreException as e:
|
||||
logger.error(f"The submission after {submission.id} failed to download due to a PRAW exception: {e}")
|
||||
if submission is not None:
|
||||
logger.error(f"The submission after {submission.id} failed to download due to a PRAW exception: {e}")
|
||||
else:
|
||||
logger.error(f"Download failed due to a PRAW exception: {e}")
|
||||
logger.debug("Waiting 60 seconds to continue")
|
||||
sleep(60)
|
||||
|
||||
Reference in New Issue
Block a user