more logging 2
This commit is contained in:
parent
c670789315
commit
7502ceba9f
2 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue