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

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 27 Jun 2002 11:06:57 -0400


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

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

=== Packages/ZEO/zrpc/connection.py 1.2 => 1.3 ===
         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: