Browse Source

Catch all exceptions

Nikola Kotur 3 years ago
parent
commit
14719c135d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      reddrip/ripper/__init__.py

+ 1 - 1
reddrip/ripper/__init__.py

@@ -141,7 +141,7 @@ class Ripper(object):
                 )
 
             time.sleep(self.timeout)
-        except (requests.exceptions.RequestException, praw.errors.HTTPException, praw.errors.Forbidden) as e:
+        except Exception as e:
             log.error(
                 "Failed to fetch subreddit %s with error: %s" % (sub["name"], e)
             )