diff options
author | Alan Pearce | 2024-05-14 17:24:01 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-14 17:24:01 +0200 |
commit | 5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc (patch) | |
tree | 629735e0da55fd1033432da579e7a0769e095e2f /searchix.go | |
parent | 56406890b7ff3cd05cada498456110b72777ccd0 (diff) | |
download | searchix-5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc.tar.lz searchix-5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc.tar.zst searchix-5f9c7ef00b1ed56fb1abbade4d5dbc3041acd4fc.zip |
feat: log on startup if index doesn't exist
Diffstat (limited to 'searchix.go')
-rw-r--r-- | searchix.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |