Skip to content

Commit

Permalink
fix(middleware): fixed the logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
orenlab committed Jan 14, 2025
1 parent a1ff269 commit 9b801c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytmbot/middleware/access_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _handle_unauthorized_access(self, user_id: int, username: str, chat_id: int)
}
)
else:
logger.info(
logger.warning(
f"Unauthorized access attempt #{current_attempt} from user {username} (ID: {user_id})",
context={
**log_extra,
Expand Down

0 comments on commit 9b801c6

Please sign in to comment.