summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorDavin Potts <python@discontinuity.net>2016-09-08 19:40:36 (GMT)
committerDavin Potts <python@discontinuity.net>2016-09-08 19:40:36 (GMT)
commit37156a70b95b2e8efde26cc6c1b5ffd6830b664e (patch)
tree8c9a0187d15be8ff414e7a78f7c5a9d014c9f08b /Lib/multiprocessing
parent014d52ffc4586e30a1fa4cbedc1532419a5916a1 (diff)
downloadcpython-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.py2
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)