Open rsiemens opened 1 month ago
Hello,
thanks for reporting this issue. I will add the PID
onto the exception.
Thanks for your consideration @noxdafox 🙇 Would submitting a PR with tests tweaks ourselves be appreciated or you'd prefer to tackle the feature request yourself?
I see there's already a test we could adjust for this purpose
👋 , we are utilizing the pebble
ProcessPool
quite heavily and occasionally we'll find ourselves needing to debug an abnormal exit on a worker. WhenProcessExpired
is raised in the main processesdone_callback
we get the exit code, which is helpful, but lack the process id of the worker which would make finding logs and sourcing the underlying reason much easier.Ask:
handle_worker_expiration
to include theworker_id
in theProcessExpired
exception here?