[Nym3-commit] r491 - trunk/nymbaron/Server

zax at conuropsis.org zax at conuropsis.org
Sun Mar 19 19:17:24 CET 2006


Author: zax
Date: 2006-03-19 19:17:23 +0100 (Sun, 19 Mar 2006)
New Revision: 491

Modified:
   trunk/nymbaron/Server/Main.py
Log:
Add debug messages for relaying messages directed to nymholders (nymbarond deliver)


Modified: trunk/nymbaron/Server/Main.py
===================================================================
--- trunk/nymbaron/Server/Main.py	2006-03-19 17:55:10 UTC (rev 490)
+++ trunk/nymbaron/Server/Main.py	2006-03-19 18:17:23 UTC (rev 491)
@@ -383,7 +383,9 @@
         (options, args) = parser.parse_args(args[2:])
         if not options.nym:
             print ("You must provide a nym to which the message is adressed")
+            logger.info('Received a message with no defined recipient')
             sys.exit(1)
+        logger.debug('Relaying a received message to nym \"%s\"' % options.nym)
         processIncoming(options.nym, readMessage(options.file))
         sys.exit(0)
     



More information about the Nym3-commit mailing list