reraise_with_stack
- typhon.utils.reraise_with_stack(func)[source]
- Make functions include the whole stack in raised exceptions - Notes - This is a decorator function. - When using the concurrent.futures module, the original traceback message gets lost, which makes it difficult to debug. This decorator solves the problem. - References - Taken from https://stackoverflow.com/a/29357032.