Catch and log on-the-fly indexing errors instead of crashing.

Review Request #2127 — Created May 2, 2021 and updated

guest8048
Review Board
6b370d2...
guest8048
When failing to communicate with a search backend, operations that
would modify the search index would lead to a crash. The backend would
raise an exception, which never got caught anywhere. That could break
all manner of operations.

This change sandboxes any errors, logging the error messages when they
occur and preventing them from bubbling up.

Testing Done:
Unit tests pass.

Reviewed at https://reviews.reviewboard.org/r/11596/


Description From Last Updated

line comment issue

guest8048guest8048

nnnnn

guest8048guest8048
Loading...