mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
switch to raw_get and raw_set to see exceptions
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user