Skip to content

Commit

Permalink
More debugging for password change event on fxa webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Jan 8, 2024
1 parent 5d4b6cc commit 5e74b7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/src/appointment/routes/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def fxa_process(
logging.warning("Subscriber doesn't have refresh token.")
except requests.exceptions.HTTPError as ex:
logging.error(f"Error logging out user: {ex.response}")
logging.error(json.dumps(ex.request))
logging.error(json.dumps(ex.response))
case 'https://schemas.accounts.firefox.com/event/profile-change':
if event_data.get('email') is not None:
# Update the subscriber's email (and username for now)
Expand Down

0 comments on commit 5e74b7e

Please sign in to comment.