Skip to content

Commit d1aa707

Browse files
committed
STYLE: Implement Exception in try/except
1 parent 79e48cd commit d1aa707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botcity/web/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _cleanup(bot: ReferenceType[WebBot]):
4949
if bot() is not None:
5050
try:
5151
bot().stop_browser()
52-
except:
52+
except Exception:
5353
pass
5454

5555

0 commit comments

Comments
 (0)