mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[common] improve logging
This commit is contained in:
@@ -195,7 +195,10 @@ public class Reputation : CommonHandler
|
||||
{
|
||||
if (!_userService.IsUserSuper(From))
|
||||
{
|
||||
_logger.LogInformation("{User} attempted to modify someones reputation in {Chat}", From, Chat.Title);
|
||||
_logger.LogWarning("{User} attempted to modify reputation in {Chat}",
|
||||
From.ToLog(),
|
||||
Chat.ToLog()
|
||||
);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user