CLI: catch broader exception in indexing [ci skip]

This commit is contained in:
MischaPanch authored and Michael Panchenko committed 2025-08-27 15:34:24 +02:00
1 parent 0b47ac8a73
commit 7a31755283
1 file changed
+1 -1
+1 -1
View File
@@ -464,7 +464,7 @@ class ProjectCommands(AutoRegisteringGroup):
try:
ls.request_document_symbols(f, include_body=False)
ls.request_document_symbols(f, include_body=True)
except TimeoutError as e:
except Exception as e:
log.error(f"Failed to index {f}, continuing.")
collected_exceptions.append(e)
files_failed.append(f)