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