fix bad traceback printing call

This commit is contained in:
muskit
2023-08-21 02:43:18 -07:00
parent f6c2d4c42a
commit df754b3ef9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ async def run(PROGRAM_ARGS):
print('Posted no new tweets; we\'re caught up!') print('Posted no new tweets; we\'re caught up!')
return True return True
else: else:
print('Tweets were not retrieved cleanly.') print('Tweets were not retrieved cleanly. Not processing queue.')
return False return False
except KeyboardInterrupt: except KeyboardInterrupt:
print('Interrupting queue processing...') print('Interrupting queue processing...')
+1 -1
View File
@@ -96,7 +96,7 @@ class Scraper:
except Exception as e: except Exception as e:
if private_user: if private_user:
print("Unknown exception occurred, tweet is probably unavailable") print("Unknown exception occurred, tweet is probably unavailable")
print(e.with_traceback()) print(e)
return None return None
else: else:
print("Unknown exception occurred, trying again as private...") print("Unknown exception occurred, trying again as private...")