From a74f29d7b08295192b8140271bc4b4b47f293462 Mon Sep 17 00:00:00 2001 From: antanst <> Date: Wed, 18 Jun 2025 12:03:37 +0300 Subject: [PATCH] Update log message to reflect crawl date update behavior MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 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 ddc407d..50df35c 100644 --- a/common/worker.go +++ b/common/worker.go @@ -235,7 +235,7 @@ func WorkOnUrl(ctx context.Context, tx *sqlx.Tx, url string) (err error) { contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d %s", s.ResponseCode.ValueOrZero(), s.Error.ValueOrZero()) return saveSnapshotAndRemoveURL(ctx, tx, s) } else { - contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d %s (but old content exists, not updating)", s.ResponseCode.ValueOrZero(), s.Error.ValueOrZero()) + contextlog.LogInfoWithContext(ctx, logging.GetSlogger(), "%2d %s (but old content exists, updating crawl date)", s.ResponseCode.ValueOrZero(), s.Error.ValueOrZero()) err = gemdb.Database.UpdateLastCrawled(ctx, tx, s.URL.String()) if err != nil { return err