# Revision history [back]

### Exception does not show which line raised it

Hi there,

I'm new to sage, and made some sage scripts to improve my python scripts' performances. Then I load my script into a sage session, and run a test function.

When I get exception, it shows me the traceback with functions names only, without the instruction that triggered it. For example :

sage: f.runtest()
Generating keys ...
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
<ipython-input-3-abdb981a9bdb> in <module>()
----> 1 f.runtest()

<string> in runtest(self)

<string> in KeyGen(self)

2541         n = rat.numer() % other
2542         d = rat.denom() % other
-> 2543         d = d.inverse_mod(other)
2544         return (n * d) % other
2545


And I have no idea which line in KeyGen does trigger that ZeroDivisionError. Any idea ?