feat: log on startup if index doesn't exist
Alan Pearce alan@alanpearce.eu
Tue, 14 May 2024 17:24:01 +0200
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M searchix.go → searchix.go
@@ -64,6 +64,7 @@ log.Fatalf("Failed to open or create index: %v", err) } if !exists { + slog.Info("Index doesn't exist. Starting build job...") err = importer.Start(conf, write, *replace) if err != nil { log.Fatalf("Failed to build index: %v", err)