Logs at start of ensure-calls

This commit is contained in:
Ben 2024-11-26 12:37:36 +01:00
parent c2df15436f
commit db46a0c686
No known key found for this signature in database
GPG Key ID: 0F16E812E736C24B

View File

@ -119,6 +119,7 @@ namespace AutoClient.Modes
private async Task EnsureRecentPurchase(ICodexInstance instance, CodexNode codex, Action shouldRevisitSoon)
{
app.Log.Log($"Ensuring recent purchase for '{sourceFilename}'...");
var recent = GetMostRecent();
if (recent == null)
{
@ -248,6 +249,7 @@ namespace AutoClient.Modes
private async Task EnsureCid(ICodexInstance instance, CodexNode codex)
{
app.Log.Log($"Ensuring CID for '{sourceFilename}'...");
if (!string.IsNullOrEmpty(State.Cid))
{
var found = true;