From 21b8769bc568f6b350ee096476c06eaa74bd833e 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 - Change "old content" to "old snapshot" for more accurate terminology --- 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