added some print stuff

This commit is contained in:
msk
2022-10-04 13:43:05 -07:00
parent 14b82d110c
commit 69dd4325b7
3 changed files with 8 additions and 3 deletions
+5 -2
View File
@@ -145,5 +145,8 @@ cython_debug/
# project-specific (secret.ini: can't ignore existing file?) # project-specific (secret.ini: can't ignore existing file?)
secrets.ini secrets.ini
queue.txt queue.txt
/img.png img.png
/src/img.png src/img.png
_queue_backup.txt
_current_ttweet.txt
finished_ttweets.txt
+1 -1
View File
@@ -98,7 +98,7 @@ async def process_queue() -> bool:
queued_ttweets_count = queue.get_count() queued_ttweets_count = queue.get_count()
if queued_ttweets_count == 0: if queued_ttweets_count == 0:
print('post-able queue is empty!') print('Posting queue is empty!')
return True return True
if PROGRAM_ARGS.announce_catchup: if PROGRAM_ARGS.announce_catchup:
+2
View File
@@ -52,5 +52,7 @@ def run():
errors_encountered += 1 errors_encountered += 1
print('Ran into an error while in listen mode.') print('Ran into an error while in listen mode.')
traceback.print_exc() traceback.print_exc()
else:
print('API stream exited gracefully.')
print('Re-running listen mode...') print('Re-running listen mode...')
print(f'(Had {errors_encountered} errors so far.)') print(f'(Had {errors_encountered} errors so far.)')