some more debug stuff and set rcpt to _rcpt in json files to not get spammed by mails while testing

This commit is contained in:
Johannes Findeisen 2013-11-03 22:30:51 +01:00
commit 23a1a246cc
4 changed files with 5 additions and 3 deletions

View file

@ -51,7 +51,8 @@ class MailTask(Task):
def execute(self, msg, taskArgs):
if "rcpt" not in taskArgs:
raise "could not execute Mail Task! No recipient given!"
logger.debug("Could not execute Mail Task! No recipient given!")
raise "Could not execute Mail Task! No recipient given!"
logger.debug("Eecuting Task!")