Skip to content

Commit

Permalink
Clarify debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanC committed Mar 5, 2024
1 parent 39789d9 commit 44d3e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/x.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def GetUserID(username: str) -> int:
logger.opt(exception=e).error(f"[@{username}] Failed to get user")

if userId:
logger.trace(f"[@{username}] Found userid {userId}")
logger.trace(f"[@{username}] Found userId {userId}")

return userId

Expand Down Expand Up @@ -236,6 +236,6 @@ def GetPost(username: str, postId: int) -> dict:
logger.opt(exception=e).error(f"[@{username}] Failed to get post {postId}")

if post:
logger.trace(f"[@{username}] {post}")
logger.trace(f"[@{username}] Found post {postId} {post}")

return post

0 comments on commit 44d3e54

Please sign in to comment.