Large try except block in Python - how to understand where was an exception?

Viewed 1362

I have a program (not mine) that has a large try - except block. Somewhere in this block there is an exception. what is the best way to find out the exact string of code where it happens?

2 Answers
Related