diff options
author | Davin Potts <python@discontinuity.net> | 2016-09-08 19:47:23 (GMT) |
---|---|---|
committer | Davin Potts <python@discontinuity.net> | 2016-09-08 19:47:23 (GMT) |
commit | 70897ec54c824bc66ae15678e0dc8da144227582 (patch) | |
tree | 6df26ea786f7dd73d4003110c0d1076ac2e0ac55 /Lib/multiprocessing | |
parent | 110b6fecbbb86143a4acb568f50eab2c870e7d34 (diff) | |
parent | 37156a70b95b2e8efde26cc6c1b5ffd6830b664e (diff) | |
download | cpython-70897ec54c824bc66ae15678e0dc8da144227582.zip cpython-70897ec54c824bc66ae15678e0dc8da144227582.tar.gz cpython-70897ec54c824bc66ae15678e0dc8da144227582.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 6e63a60..c4dc972 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -283,7 +283,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) |