mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 17:01:29 +02:00
fix
This commit is contained in:
parent
334365e853
commit
75da6d7027
@ -544,11 +544,7 @@ def apply_dmarc_policy(
|
||||
) -> Optional[str]:
|
||||
dmarc_result = get_dmarc_status(msg)
|
||||
if dmarc_result:
|
||||
newrelic.agent.record_custom_event(
|
||||
newrelic.agent.record_custom_event(
|
||||
"DmarcCheck", {"result": dmarc_result.name}
|
||||
)
|
||||
)
|
||||
newrelic.agent.record_custom_event("DmarcCheck", {"result": dmarc_result.name})
|
||||
else:
|
||||
newrelic.agent.record_custom_event("DmarcCheck", {"result": "N/A"})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user