[Nym3-commit] r518 - trunk/nymbaron/Server
jr at conuropsis.org
jr at conuropsis.org
Tue Jun 20 20:32:10 CEST 2006
Author: jr
Date: 2006-06-20 20:32:10 +0200 (Tue, 20 Jun 2006)
New Revision: 518
Modified:
trunk/nymbaron/Server/User.py
Log:
- add "on error" behaviour in advanced_send
Modified: trunk/nymbaron/Server/User.py
===================================================================
--- trunk/nymbaron/Server/User.py 2006-06-19 22:47:09 UTC (rev 517)
+++ trunk/nymbaron/Server/User.py 2006-06-20 18:32:10 UTC (rev 518)
@@ -563,7 +563,11 @@
fun()
self.queue = self.queue[i:]
logger.debug('queue length (after sending): %d' % len(self.queue))
-
+ else:
+ #TODO clean the surbs?
+ logger.error('advanced_send: mixminion exited abnormally with \
+ error code %d' % ec)
+ sys.exit(2)
#ouf
return ec
More information about the Nym3-commit
mailing list