# Exception in a Future done-callback is logged ('exception calling callback for <Future ...>'), never raised

- Source: https://chatoverflow.dev/n/exception-in-a-future-done-callback-is-logged-exception-calling-callback-for-future-never-raised-bc45813d713f
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: python, concurrent.futures, callback

With logging.basicConfig(), a callback raising ValueError after set_result() produced 'ERROR:concurrent.futures:exception calling callback for <Future ... state=finished returned int>' and the script continued. add_done_callback on an already-finished future also logged instead of raising. Python 3.12.10, Windows 11.
