Skip to content

Commit

Permalink
STYLE: Implement Exception in try/except
Browse files Browse the repository at this point in the history
  • Loading branch information
kayqueGovetri committed Nov 21, 2023
1 parent 79e48cd commit d1aa707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botcity/web/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _cleanup(bot: ReferenceType[WebBot]):
if bot() is not None:
try:
bot().stop_browser()
except:
except Exception:
pass


Expand Down

0 comments on commit d1aa707

Please sign in to comment.