Log test notifications

This commit is contained in:
JonnyWong16 2017-04-19 19:43:22 -07:00
parent 006e7c214d
commit f2f28f48cb
2 changed files with 19 additions and 12 deletions

View file

@ -3087,10 +3087,10 @@ class WebInterface(object):
if notifier:
logger.debug(u"Sending %s%s notification." % (test, notifier['agent_name']))
if notifiers.send_notification(notifier_id=notifier_id,
if notification_handler.notify(notifier_id=notifier_id,
notify_action=notify_action,
subject=subject,
body=body,
notify_action=notify_action,
**kwargs):
return "Notification sent."
else: