fix bad traceback printing call
This commit is contained in:
+1
-1
@@ -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...')
|
||||
|
||||
+1
-1
@@ -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...")
|
||||
|
||||
Reference in New Issue
Block a user