[Zope3-checkins] CVS: Zope3/src/zope/server/http - publisherhttpserver.py:1.6

Jim Fulton jim at zope.com
Sun Sep 21 13:34:28 EDT 2003


Update of /cvs-repository/Zope3/src/zope/server/http
In directory cvs.zope.org:/tmp/cvs-serv16075/src/zope/server/http

Modified Files:
	publisherhttpserver.py 
Log Message:
Print the error when we enter the post-mortem debugger.


=== Zope3/src/zope/server/http/publisherhttpserver.py 1.5 => 1.6 ===
--- Zope3/src/zope/server/http/publisherhttpserver.py:1.5	Tue Jul 22 05:33:43 2003
+++ Zope3/src/zope/server/http/publisherhttpserver.py	Sun Sep 21 13:34:27 2003
@@ -64,6 +64,8 @@
             publish(request, handle_errors=False)
         except:
             import sys, pdb
+            print "%s:" % sys.exc_info()[0]
+            print sys.exc_info()[1]
             pdb.post_mortem(sys.exc_info()[2])
             raise
         




More information about the Zope3-Checkins mailing list