mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 07:56:06 -03:30
Increment sent messages for pagerduty backend
This commit is contained in:
@@ -42,6 +42,7 @@ class PagerDutyBackend(TowerBaseEmailBackend):
|
||||
description=m.subject,
|
||||
details=m.body,
|
||||
client=m.from_email)
|
||||
sent_messages += 1
|
||||
except Exception as e:
|
||||
logger.error(smart_text("Exception sending messages: {}".format(e)))
|
||||
if not self.fail_silently:
|
||||
|
||||
Reference in New Issue
Block a user