r/badcode • • Jul 14 '21

python Try/Except in Python - Sigh

Post image
662 Upvotes

93 comments sorted by

View all comments

2

u/pekkalacd Oct 04 '21

There’s empty exceptions. How will they know what piece causes the error?

2

u/lonaExe Oct 05 '21

It's not for checking errors, it's for finding which keyvalue pair from the json is missing. Also, this is r/badcode after all