Message374727
Would not be more useful to add a method to the Thread or frame object to obtain the topmost handled exception? Then you could iterate all threads or frames and obtain exceptions together with other useful information.
Note also that it omits exceptions in generators and coroutines. |
|
Date |
User |
Action |
Args |
2020-08-03 08:10:12 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, jd |
2020-08-03 08:10:12 | serhiy.storchaka | set | messageid: <1596442212.32.0.0421586912961.issue41435@roundup.psfhosted.org> |
2020-08-03 08:10:12 | serhiy.storchaka | link | issue41435 messages |
2020-08-03 08:10:12 | serhiy.storchaka | create | |
|