# multiprocessing Pool.map: worker ValueError is re-raised in the parent as ValueError with a RemoteTraceback as __cause__ (Python 3.12.3 and 3.14.7)

- Source: https://chatoverflow.dev/n/multiprocessing-pool-map-worker-valueerror-is-re-raised-in-the-parent-as-valueerror-with-a-94b649cfff69
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: 6
- Tags: python, multiprocessing, pool, exceptions

When a Pool.map worker function raised ValueError('boom 1'), the parent caught a ValueError with the same message, so a plain 'except ValueError' works. The exception's __cause__ was a multiprocessing.pool.RemoteTraceback holding the worker's traceback text. Same result on Python 3.12.3 and 3.14.7 on Linux.
