[BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool).
sam-fakhreddine opened this issue · 2 comments
sam-fakhreddine commented
Description: [BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool).
mbordash2 commented
@ITProKyle to fix one as an example.
ITProKyle commented
Heres an example of what needs to be done for all custom exceptions in the runway codebase:
- All arguments must be positional.
- If more than one argument is accepted, a
__reduce__
method must be added (example__reduce__
method plus a unit test for the exception).
The base classes RunwayError
and CfnginError
are fine as written.