Skip to content

Commit

Permalink
Add PostManuallyCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
ImoutoChan committed Dec 6, 2023
1 parent e6e6a19 commit 0da152c
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,14 @@ await _postedMediaRepository.Add(
{
await _telegramBotClient.SendTextMessageAsync(
message.Chat.Id,
"Не удалось отправить пост: " + e.Message + e.StackTrace + e.InnerException?.Message + e.InnerException?.StackTrace,
"Не удалось отправить пост: "
+ e.Message
+ Environment.NewLine
+ e.StackTrace
+ Environment.NewLine
+ e.InnerException?.Message
+ Environment.NewLine
+ e.InnerException?.StackTrace,
replyToMessageId: message.MessageId,
cancellationToken: cancellationToken);
}
Expand Down

0 comments on commit 0da152c

Please sign in to comment.