diff --git a/Program.cs b/Program.cs index 4cb738d..bc81087 100644 --- a/Program.cs +++ b/Program.cs @@ -83,6 +83,7 @@ class Program private static Task HandleErrorAsync(ITelegramBotClient botClient, Exception exception, CancellationToken cancellationToken) { Log.Error($"Ошибка: {exception.Message}"); + Log.Error($"StackTrace: {exception.StackTrace}"); return Task.CompletedTask; } }