mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
code review feedback and merge from main
This commit is contained in:
@@ -165,7 +165,6 @@ def update_notification_status_by_reference(reference, status):
|
||||
"notification not found for reference {} (update to {})".format(
|
||||
reference, status
|
||||
),
|
||||
exc_info=True,
|
||||
)
|
||||
return None
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ def get_login_gov_user(login_uuid, email_address):
|
||||
# address in login.gov.
|
||||
# But if we cannot change the email address, at least we don't
|
||||
# want to fail here, otherwise the user will be locked out.
|
||||
current_app.logger.error("Error getting login.gov user", exc_info=True)
|
||||
current_app.logger.exception("Error getting login.gov user")
|
||||
db.session.rollback()
|
||||
|
||||
return user
|
||||
|
||||
Reference in New Issue
Block a user