python/dist/src/Lib/idlelib rpc.py,1.30,1.31
![](https://secure.gravatar.com/avatar/5198081b8a2202570b712777aee311bc.jpg?s=120&d=mm&r=g)
Update of /cvsroot/python/python/dist/src/Lib/idlelib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17234 Modified Files: rpc.py Log Message: Improve error message if rpc'l localcall() fails with unexpected exception. Index: rpc.py =================================================================== RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/rpc.py,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- rpc.py 21 Dec 2004 22:10:32 -0000 1.30 +++ rpc.py 23 Dec 2004 04:39:55 -0000 1.31 @@ -199,7 +199,9 @@ except socket.error: raise except: - self.debug("localcall:EXCEPTION") + msg = "*** Internal Error: rpc.py:SocketIO.localcall()\n\n"\ + " Object: %s \n Method: %s \n Args: %s\n" + print>>sys.__stderr__, msg % (oid, method, args) traceback.print_exc(file=sys.__stderr__) return ("EXCEPTION", None)
participants (1)
-
kbk@users.sourceforge.net