irmen / Pyro5

Pyro 5 - Python remote objects
https://pyro5.readthedocs.io
MIT License
305 stars 36 forks source link

serialize/deserialize remote exception traceback #36

Closed eudoxos closed 3 years ago

eudoxos commented 3 years ago

I find this quite helpful when debugging - the traceback shows both the local and remote part. It introduces a dependency on tblib (for serializing the traceback object) which might or might not be acceptable.

irmen commented 3 years ago

Can you elaborate how this is different from the default mechanism?

https://pyro5.readthedocs.io/en/latest/errors.html#remote-exceptions

eudoxos commented 3 years ago

I was trying to inject the remote traceback at the end of the local one so that usual exception reporting would report the remote part as well. But it has a number of drawbacks (such as that modules have to be installed on the local machine as well), the existing mechanism with extended reporting is fine. Sorry for noise, closing.

irmen commented 3 years ago

no problem, glad you can continue with the existing mechanism.