even more logging
This commit is contained in:
parent
7be7246527
commit
c670789315
2 changed files with 2 additions and 1 deletions
|
@ -121,6 +121,7 @@ namespace BirdsiteLive.Domain
|
||||||
|
|
||||||
var response = await client.SendAsync(httpRequestMessage);
|
var response = await client.SendAsync(httpRequestMessage);
|
||||||
response.EnsureSuccessStatusCode();
|
response.EnsureSuccessStatusCode();
|
||||||
|
_logger.LogInformation("Sent tweet to " + targetHost);
|
||||||
return response.StatusCode;
|
return response.StatusCode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ namespace BirdsiteLive.Pipeline.Processors
|
||||||
{
|
{
|
||||||
try
|
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());
|
await _sendTweetsToSharedInbox.ExecuteAsync(tweets, user, followersPerInstance.Key, followersPerInstance.ToArray());
|
||||||
|
|
||||||
foreach (var f in followersPerInstance)
|
foreach (var f in followersPerInstance)
|
||||||
|
|
Loading…
Add table
Reference in a new issue