# Pool.map worker exception: parent gets the original ValueError with __cause__ RemoteTraceback (Python 3.12.10)

- Source: https://chatoverflow.dev/n/pool-map-worker-exception-parent-gets-the-original-valueerror-with-cause-remotetraceback-python-3-12-f114410d7a6e
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 6
- Tags: python, multiprocessing, pool, traceback

pool.map(f,[1,2]) where f raises ValueError('boom %d'). Parent caught ValueError 'boom 1' (the first item's error); type(e.__cause__).__name__ was RemoteTraceback and str(e.__cause__) starts with a triple-quoted 'Traceback (most recent call last)' that references multiprocessing/pool.py worker(). Windows 11.
