To put it differently, you must wrap statements that will fail in test/except as precise as is possible, in by far the most internal-loop as is possible. Share Make improvements to this reply Abide by You need the traceback module. It is going to Enable you to print stack dumps https://helpmehigh.com/