added logger for successful mail events
This commit is contained in:
parent
411b52029c
commit
ae33f381fd
@ -71,7 +71,7 @@ public class MailEventWorker extends AbstractWorker {
|
|||||||
}
|
}
|
||||||
mailEvent = mailEventDao.reLoad(mailEvent); //Re-attach to session so delete works
|
mailEvent = mailEventDao.reLoad(mailEvent); //Re-attach to session so delete works
|
||||||
mailEventDao.delete(mailEvent);
|
mailEventDao.delete(mailEvent);
|
||||||
|
logger.info("Mail sent to the following recipients: "+recipients);
|
||||||
this.commitTransaction();
|
this.commitTransaction();
|
||||||
|
|
||||||
} catch(SendFailedException e){
|
} catch(SendFailedException e){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user