From 9a09dd773547c77f4b719f4aca6522b1593057b2 Mon Sep 17 00:00:00 2001 From: antanst <> Date: Thu, 19 Jun 2025 10:19:29 +0300 Subject: [PATCH] Update log message for clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Change "old content" to "old snapshot" for more accurate terminology 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- common/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/worker.go b/common/worker.go index 0e478d6..3bbc498 100644 --- a/common/worker.go +++ b/common/worker.go @@ -291,7 +291,7 @@ func saveSnapshotAndRemoveURL(ctx context.Context, tx *sqlx.Tx, s *snapshot.Snap contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d", s.ResponseCode.ValueOrZero()) return removeURL(ctx, tx, s.URL.String()) } else { - contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d (but old content exists, updating crawl date)", s.ResponseCode.ValueOrZero()) + contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d (but old snapshot exists, updating crawl date)", s.ResponseCode.ValueOrZero()) err = gemdb.Database.UpdateLastCrawled(ctx, tx, s.URL.String()) if err != nil { return err