even more logging

This commit is contained in:
Vincent Cloutier 2022-05-08 13:45:11 -04:00
parent 7be7246527
commit c670789315
2 changed files with 2 additions and 1 deletions

View file

@ -121,6 +121,7 @@ namespace BirdsiteLive.Domain
var response = await client.SendAsync(httpRequestMessage);
response.EnsureSuccessStatusCode();
_logger.LogInformation("Sent tweet to " + targetHost);
return response.StatusCode;
}
}

View file

@ -68,7 +68,7 @@ namespace BirdsiteLive.Pipeline.Processors
{
try
{
_logger.LogInformation("Sending " + tweets.Length + " tweets from user " + user + " to instance " + followersPerInstance.Key);
_logger.LogInformation("Sending " + tweets.Length + " tweets from user " + user.Acct + " to instance " + followersPerInstance.Key);
await _sendTweetsToSharedInbox.ExecuteAsync(tweets, user, followersPerInstance.Key, followersPerInstance.ToArray());
foreach (var f in followersPerInstance)