[Zope3-checkins] CVS: Zope3/src/zodb/zeo - server.py:1.1.2.4
Guido van Rossum
guido@python.org
Tue, 24 Dec 2002 13:00:14 -0500
Update of /cvs-repository/Zope3/src/zodb/zeo
In directory cvs.zope.org:/tmp/cvs-serv18215
Modified Files:
Tag: NameGeddon-branch
server.py
Log Message:
In store(), when pickle.dump() can't pickle the storage exception, log
the traceback.
=== Zope3/src/zodb/zeo/server.py 1.1.2.3 => 1.1.2.4 ===
--- Zope3/src/zodb/zeo/server.py:1.1.2.3 Tue Dec 24 12:12:17 2002
+++ Zope3/src/zodb/zeo/server.py Tue Dec 24 13:00:14 2002
@@ -641,7 +641,7 @@
pickler.dump(err, 1)
except:
msg = "Couldn't pickle storage exception: %s" % repr(err)
- self.logger.error(msg)
+ self.logger.exception(msg)
err = StorageServerError(msg)
# The exception is reported back as newserial for this oid
newserial = err