Skip to content

Commit

Permalink
Merge pull request #350 from DNO-inc/improve_auth_logs
Browse files Browse the repository at this point in the history
improve logs in the authorization process
  • Loading branch information
m-o-d-e-r authored May 29, 2024
2 parents 6e760e4 + d60ae20 commit 3fae828
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions burrito/utils/users_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ def create_user_with_cabinet(

except Exception as e:
get_logger().error(e)
get_logger().warning(
f"""
Email {email}
Login {tmp_user_login}
Faculty {faculty}
Group {group}
"""
)


def get_user_by_login(login: str) -> Users | None:
Expand Down

0 comments on commit 3fae828

Please sign in to comment.