дебаг

This commit is contained in:
Professional 2025-03-12 22:35:28 +07:00
parent d0ff08d79a
commit d202e02d23

View File

@ -83,6 +83,7 @@ class Program
private static Task HandleErrorAsync(ITelegramBotClient botClient, Exception exception, CancellationToken cancellationToken) private static Task HandleErrorAsync(ITelegramBotClient botClient, Exception exception, CancellationToken cancellationToken)
{ {
Log.Error($"Ошибка: {exception.Message}"); Log.Error($"Ошибка: {exception.Message}");
Log.Error($"StackTrace: {exception.StackTrace}");
return Task.CompletedTask; return Task.CompletedTask;
} }
} }