Skip to content

Commit

Permalink
Add logging into messages for user and domain verification
Browse files Browse the repository at this point in the history
  • Loading branch information
wesjdj committed Jul 1, 2024
1 parent 3c7fbb4 commit a2fc6fd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions verification_service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,18 @@ def process_event(self, event_type, data):
user_email_address, self.verified_domains_file
)

logging.info(
f"User: {user_email_address}, user domain verification: {user_verified}"
)

if not user_verified:
user_verified = check_user_verification(
user_email_address, self.verified_users_file
)

logging.info(
f"{user_email_address}, domain verification: {user_verified}"
)
logging.info(
f"User: {user_email_address}, user verification: {user_verified}"
)

# Check if the event type is snippet_check.
elif event_type == SnippetEvent.SNIPPET_CHECK.value:
Expand Down

0 comments on commit a2fc6fd

Please sign in to comment.