switch to raw_get and raw_set to see exceptions

This commit is contained in:
Kenneth Kehl
2024-01-10 10:30:44 -08:00
parent 5bcd238a67
commit 7b2e59dede
2 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ def send_sms_to_provider(notification):
)
except BaseException:
key = f"2facode-{notification.id}".replace(" ", "")
my_phone = redis_store.get(key)
my_phone = redis_store.raw_get(key)
if my_phone:
my_phone = my_phone.decode("utf-8")