fix(import): don't remove index if there are errors now that we can update the index, this is no longer reasonable
Alan Pearce alan@alanpearce.eu
Sun, 12 May 2024 14:37:27 +0200
1 files changed, 0 insertions(+), 1 deletions(-)
jump to
M import/main.go → import/main.go
@@ -120,7 +120,6 @@ slog.Error("error closing indexer", "error", err) } if hadErrors { - os.RemoveAll(path.Join(cfg.DataPath, "index.bleve")) defer os.Exit(1) } }