[Zodb-checkins] CVS: Packages/ZEO/zrpc - connection.py:1.1.2.2.2.5

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 27 Jun 2002 05:56:54 -0400


Update of /cvs-repository/Packages/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv13313/zrpc

Modified Files:
      Tag: ZEO2-branch
	connection.py 
Log Message:
fix bug that caused exceptions log entries to be mangled

=== Packages/ZEO/zrpc/connection.py 1.1.2.2.2.4 => 1.1.2.2.2.5 ===
         except Exception, msg:
             error = sys.exc_info()[:2]
-            log("%s() raised exception: %s" % (name, msg), zLOG.ERROR, error)
+            log("%s() raised exception: %s" % (name, msg), zLOG.ERROR, error=sys.exc_info())
             return self.return_error(msgid, flags, error[0], error[1])
 
         if flags & ASYNC: