r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

Show parent comment

3

u/ThatDudeBesideYou Jul 15 '21

Oh yea I am doing that, since logging it requires a reference so it always except Exception as e: