From 5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 14 May 2024 17:24:01 +0200 Subject: feat: log on startup if index doesn't exist --- searchix.go | 1 + 1 file changed, 1 insertion(+) diff --git a/searchix.go b/searchix.go index 4a511bf..1cdae70 100644 --- a/searchix.go +++ b/searchix.go @@ -64,6 +64,7 @@ func main() { } 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) -- cgit 1.4.1