diff options
author | Davin Potts <python@discontinuity.net> | 2016-09-08 19:40:36 (GMT) |
---|---|---|
committer | Davin Potts <python@discontinuity.net> | 2016-09-08 19:40:36 (GMT) |
commit | 37156a70b95b2e8efde26cc6c1b5ffd6830b664e (patch) | |
tree | 8c9a0187d15be8ff414e7a78f7c5a9d014c9f08b /Lib/multiprocessing | |
parent | 014d52ffc4586e30a1fa4cbedc1532419a5916a1 (diff) | |
download | cpython-37156a70b95b2e8efde26cc6c1b5ffd6830b664e.zip cpython-37156a70b95b2e8efde26cc6c1b5ffd6830b664e.tar.gz cpython-37156a70b95b2e8efde26cc6c1b5ffd6830b664e.tar.bz2 |
Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/managers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index c559b55..b175470 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -275,7 +275,7 @@ class Server(object): try: send(msg) except Exception as e: - send(('#UNSERIALIZABLE', repr(msg))) + send(('#UNSERIALIZABLE', format_exc())) except Exception as e: util.info('exception in thread serving %r', threading.current_thread().name) |