Refactor logging messages for consistency and clarity
- Updated various logging messages across the application to replace Russian text with English equivalents, ensuring consistency in error and information logs. - Enhanced clarity in log messages related to Telegram bot operations, user management commands, and health check services, improving overall traceability and understanding of application behavior.
This commit is contained in:
@@ -21,7 +21,7 @@ public sealed class TelegramBotHostedService(
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(options.Value.BotToken))
|
||||
{
|
||||
logger.LogWarning("Telegram__BotToken не задан — бот не стартует.");
|
||||
logger.LogWarning("Telegram__BotToken is not set — bot will not start.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ public sealed class TelegramBotHostedService(
|
||||
DropPendingUpdates = true,
|
||||
};
|
||||
|
||||
logger.LogInformation("Telegram-бот запускается (long polling)...");
|
||||
logger.LogInformation("Telegram bot starting (long polling)...");
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user