Skip to content
Commit 057905fa authored by Mike Frysinger's avatar Mike Frysinger
Browse files

error: fix pickling of all exceptions

Make sure all our custom exceptions can be pickled so that if they
get thrown in a multiprocess subprocess, we don't crash & hang due
to multiprocessing being unable to pickle+unpickle the exception.

Details/examples can be seen in Python reports like:
https://bugs.python.org/issue13751

Change-Id: Iddf14d3952ad4e2867cfc71891d6b6559130df4b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/297382


Reviewed-by: default avatarMichael Mortensen <mmortensen@google.com>
Tested-by: default avatarMike Frysinger <vapier@google.com>
parent 401c6f07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment