rackspace / runway

Simplify infrastructure/app deployment.

Home Page:https://runway.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool).

sam-fakhreddine opened this issue · comments

Description: [BUG] Fix exception pickling (cause of TypeError => BrokenProcessPool).

@ITProKyle to fix one as an example.

Heres an example of what needs to be done for all custom exceptions in the runway codebase:

  1. All arguments must be positional.
  2. 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.