mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Increment sent messages for pagerduty backend
This commit is contained in:
parent
c812e85f65
commit
2a4fa0ed9d
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user