Do Not Use Better_Exception With Multithreading Or Multiprocessing

better_exception
multithreading
multiprocessing
tracebacks
invisible tracebacks
child processes
threads
The article warns against using the ‘better_exception’ tool with multithreading or multiprocessing, as it can result in tracebacks from child processes or threads being invisible.
Published

March 13, 2024


when using it with things like sse_starlette, traceback of child process/thread will be invisible.