Skip to content

Commit

Permalink
Merge pull request #189 from ministryofjustice/fix-logging
Browse files Browse the repository at this point in the history
Make string f string
  • Loading branch information
levgorbunov1 committed May 21, 2024
2 parents 96e74d6 + 9f00eca commit 4b40ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/routes/join.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def send_invitation():

if not is_pre_approved_email_domain(auth0_email):
logger.error("Email domain is not pre-approved")
abort(400, "Email {auth0_email} is not pre-approved")
abort(400, f"Email {auth0_email} is not pre-approved")

current_app.github_service.send_invites_to_user_email(auth0_email, org_selection)

Expand Down

0 comments on commit 4b40ec8

Please sign in to comment.