Skip to content

Commit 20a0f92

Browse files
committed
Remove undefined LockError (whoosh remnant)
1 parent 5cca2e8 commit 20a0f92

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

gramps_webapi/__main__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,7 @@ def index_incremental(ctx):
175175

176176
try:
177177
indexer.reindex_incremental(db, progress_cb=progress_callback_count)
178-
except LockError:
179-
LOG.warning("Index is locked")
180-
except:
178+
except Exception:
181179
LOG.exception("Error during indexing")
182180
finally:
183181
db.close()

0 commit comments

Comments
 (0)