Only print error if FTS is still enabled

This commit is contained in:
Kovid Goyal 2022-04-27 16:13:50 +05:30
parent 251fd7a92c
commit d441eb32b5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -494,8 +494,9 @@ class Cache:
try: try:
has_more = do_one() has_more = do_one()
except Exception: except Exception:
import traceback if self.backend.fts_enabled:
traceback.print_exc() import traceback
traceback.print_exc()
@write_api @write_api
def queue_next_fts_job(self): def queue_next_fts_job(self):