Skip to content

Commit 3426326

Browse files
committed
fix: replace bare except clause in YouTube upload_video (#182)
1 parent 7d88e62 commit 3426326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/classes/YouTube.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def upload_video(self) -> bool:
848848
driver.quit()
849849

850850
return True
851-
except:
851+
except Exception as e:
852852
self.browser.quit()
853853
return False
854854

0 commit comments

Comments
 (0)