f38a451f19
If an exception is raised within a 'try', attach a traceback only up until that 'try'. If a re-raised exception has a traceback already, attach the new traceback "above" the existing one.
6 lines
223 B
Plaintext
6 lines
223 B
Plaintext
Caught a TypeError('A type error')
|
|
File 'test/testExceptionTracebacks.krk', line 4, in doTheThing
|
|
Caught a ValueError('A value error')
|
|
File 'test/testExceptionTracebacks.krk', line 4, in doTheThing
|
|
That's a name error!
|