diff --git a/src/BirdsiteLive.Domain/ActivityPubService.cs b/src/BirdsiteLive.Domain/ActivityPubService.cs index 997e8f7..ede4239 100644 --- a/src/BirdsiteLive.Domain/ActivityPubService.cs +++ b/src/BirdsiteLive.Domain/ActivityPubService.cs @@ -122,6 +122,10 @@ namespace BirdsiteLive.Domain var response = await client.SendAsync(httpRequestMessage); response.EnsureSuccessStatusCode(); _logger.LogInformation("Sent tweet to " + targetHost); + + var c = await response.Content.ReadAsStringAsync(); + _logger.LogInformation("Got res after posting tweet " + c); + return response.StatusCode; } } diff --git a/src/BirdsiteLive.Pipeline/Processors/SubTasks/SendTweetsToSharedInboxTask.cs b/src/BirdsiteLive.Pipeline/Processors/SubTasks/SendTweetsToSharedInboxTask.cs index 1abe183..055b47b 100644 --- a/src/BirdsiteLive.Pipeline/Processors/SubTasks/SendTweetsToSharedInboxTask.cs +++ b/src/BirdsiteLive.Pipeline/Processors/SubTasks/SendTweetsToSharedInboxTask.cs @@ -47,6 +47,7 @@ namespace BirdsiteLive.Pipeline.Processors.SubTasks .Where(x => x.Id > fromStatusId) .OrderBy(x => x.Id) .ToList(); + _logger.LogInformation("After filtering, there were " + tweetsToSend.Count() + " tweets left to send"); var syncStatus = fromStatusId; try