From df754b3ef998cb623e6d3588ae5069929e6317b4 Mon Sep 17 00:00:00 2001 From: muskit <15199219+muskit@users.noreply.github.com> Date: Mon, 21 Aug 2023 02:43:18 -0700 Subject: [PATCH] fix bad traceback printing call --- src/catchup.py | 2 +- src/scraper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/catchup.py b/src/catchup.py index 050442e..84a92b9 100644 --- a/src/catchup.py +++ b/src/catchup.py @@ -157,7 +157,7 @@ async def run(PROGRAM_ARGS): print('Posted no new tweets; we\'re caught up!') return True else: - print('Tweets were not retrieved cleanly.') + print('Tweets were not retrieved cleanly. Not processing queue.') return False except KeyboardInterrupt: print('Interrupting queue processing...') diff --git a/src/scraper.py b/src/scraper.py index 6239d52..abc41e7 100644 --- a/src/scraper.py +++ b/src/scraper.py @@ -96,7 +96,7 @@ class Scraper: except Exception as e: if private_user: print("Unknown exception occurred, tweet is probably unavailable") - print(e.with_traceback()) + print(e) return None else: print("Unknown exception occurred, trying again as private...")