Skip to content

Commit 46b4b9d

Browse files
committed
try block upload
1 parent 3bc40a3 commit 46b4b9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/processor.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,11 @@ def _process_queue(self):
7070
# Upload
7171
upload = streamer_config.getboolean("upload","upload")
7272
if upload:
73-
logger.info("Uploading video.")
74-
upload_youtube(os.path.abspath(new_video_path))
73+
try:
74+
logger.info("Uploading video.")
75+
upload_youtube(os.path.abspath(new_video_path))
76+
except:
77+
pass
7578

7679
logger.info(f"Finished processing: {new_video_path}")
7780

0 commit comments

Comments
 (0)