[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] What unexpected error did you mean exactly?



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv18203/lib/mixminion/server

Modified Files:
	MMTPServer.py 
Log Message:
What unexpected error did you mean exactly?

Index: MMTPServer.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/MMTPServer.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- MMTPServer.py	7 Jan 2003 19:17:57 -0000	1.12
+++ MMTPServer.py	9 Jan 2003 17:27:55 -0000	1.13
@@ -438,10 +438,10 @@
             self.handleFail(retriable=1)
             self.__sock.close()
             self.__server.unregister(self)
-        except _ml.TLSError:
+        except _ml.TLSError, e:
             if self.__state != self.__shutdownFn:
-                warn("Unexpected error: closing connection to %s",
-                     self.address)
+                warn("Unexpected error: %s. Closing connection to %s.",
+                     e, self.address)
                 self.shutdown(err=1, retriable=1)
             else:
                 warn("Error while shutting down: closing connection to %s",