Skip to content

fix: propagate exceptions from CustomThread to caller on join() (#45)#46

Merged
SeaCelo merged 1 commit intoEAPD-DRB:mac-portfrom
tejassinghbhati:feature/45-custom-thread-exception-propagation
Feb 26, 2026
Merged

fix: propagate exceptions from CustomThread to caller on join() (#45)#46
SeaCelo merged 1 commit intoEAPD-DRB:mac-portfrom
tejassinghbhati:feature/45-custom-thread-exception-propagation

Conversation

@tejassinghbhati
Copy link

Fixes CustomThread silently discarding exceptions from background threads.

  • Captures exception in run() using sys.exc_info()
  • Re-raises with original traceback in join()
  • Successful return values unaffected

Closes #45

@SeaCelo SeaCelo changed the base branch from main to mac-port February 25, 2026 17:56
@SeaCelo
Copy link
Collaborator

SeaCelo commented Feb 25, 2026

Retargeted to mac-port per the macOS integration track: #51.
We are validating Mac/cross-platform changes in mac-port first, then merging mac-port -> main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] CustomThread silently discards exceptions from background solver threads — callers receive None on failure

2 participants