mirror of
https://github.com/simple-login/app.git
synced 2025-09-08 15:44:21 +08:00
Add tracing to sending
This commit is contained in:
parent
fc12e5204d
commit
95f5c2721a
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ from smtplib import SMTP, SMTPException
|
|||
from typing import Optional, Dict, List, Callable
|
||||
|
||||
import newrelic.agent
|
||||
import sentry_sdk
|
||||
from attr import dataclass
|
||||
|
||||
from app import config
|
||||
|
@ -275,6 +276,7 @@ def load_unsent_mails_from_fs_and_resend():
|
|||
)
|
||||
|
||||
|
||||
@sentry_sdk.trace
|
||||
def sl_sendmail(
|
||||
envelope_from: str,
|
||||
envelope_to: str,
|
||||
|
|
Loading…
Add table
Reference in a new issue