Skip to content

Commit

Permalink
log temporarily for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Jul 12, 2023
1 parent ee232a9 commit a544f70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onadata/libs/serializers/user_profile_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def create(self, validated_data):
)
profile.save()
invitation = None
logging.info('Invitation---------------------%s, %s', encoded_invitation_id, invitation_token)
logging.warning('Invitation---------------------%s, %s', encoded_invitation_id, invitation_token)

if encoded_invitation_id and invitation_token:
invitation = ProjectInvitationEmail.check_invitation(
Expand All @@ -332,7 +332,7 @@ def create(self, validated_data):
# we do nothing. There is absolutely no reason to prevent
# account creation because the invitation did not pass validation
if invitation:
logging.info('Invitation check passed--------')
logging.warning('Invitation check passed--------')
accept_project_invitation_async.delay(
invitation.id,
new_user.id,
Expand Down

0 comments on commit a544f70

Please sign in to comment.