Skip to content

Commit 6b18299

Browse files
committed
tmp: logging
1 parent a50cbab commit 6b18299

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

selfservice/utilities/general.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""
44

55
import smtplib
6+
import logging
67

78
from datetime import datetime, timedelta
89
from email.mime.text import MIMEText
@@ -66,6 +67,10 @@ def phone_recovery(phone, token):
6667
current_app.config.get("TWILIO_SID"), current_app.config.get("TWILIO_TOKEN")
6768
)
6869

70+
# REMOVE ME
71+
client.http_client.logger.setLevel(logging.INFO)
72+
# REMOVE ME
73+
6974
body = f"Your CSH account recovery PIN is: {token}"
7075

7176
client.messages.create(

0 commit comments

Comments
 (0)