eric6/Utilities/BackgroundClient.py

changeset 7660
87291331c122
parent 7639
422fd05e9c91
child 7802
eefe954f01e8
child 7836
2f0d208b8137
--- a/eric6/Utilities/BackgroundClient.py	Sun Aug 02 17:31:27 2020 +0200
+++ b/eric6/Utilities/BackgroundClient.py	Thu Aug 06 16:59:02 2020 +0200
@@ -181,6 +181,9 @@
                     else:
                         ret = 'Unknown service.'
                 
+                if isinstance(ret, Exception):
+                    ret = str(ret)
+                
                 self.__send(fx, fn, ret)
         except socket.error:
             pass

eric ide

mercurial