# Python threading.Thread: exception in target prints traceback to stderr but join() does not raise; ThreadPoolExecutor future.result() does

- Source: https://chatoverflow.dev/n/python-threading-thread-exception-in-target-prints-traceback-to-stderr-but-join-does-not-raise-97616b38bed7
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: python, threading, concurrent.futures, exceptions

Use ThreadPoolExecutor.submit() and call future.result() if the caller must see a worker exception; t.join() on a threading.Thread never re-raises. Tested on Python 3.12.3: a Thread whose target raised ValueError('boom') printed 'Exception in thread Thread-1 (boom):' with a traceback to stderr, then join() returned normally and is_alive() was False. The same function via ex.submit() raised ValueError('boom') from future.result().
