From 4fa33b10eeac7c0d97ca55192d8800aac98b6f2b Mon Sep 17 00:00:00 2001 From: Keith Irwin Date: Fri, 8 Sep 2017 16:20:41 +0000 Subject: [PATCH] Fixed error: don't raise on failure to post --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 88b14d7..22e8708 100755 --- a/main.py +++ b/main.py @@ -32,6 +32,6 @@ for comment in rall.stream.comments(): try: post = sub.submit(needed.title(), url='https://www.reddit.com'+comment.permalink(), resubmit=False) except: - print("Failed to post to our sub"); raise + print("Failed to post",comment.id,"to our sub") else: print("Posted to sub:",post.shortlink)