Files:
app/utils_db.py (lines 172, 178, 299)
app/utils.py (lines 53, 142, 163)
app/indexer/controllers.py (line 408)
app/settings/controllers.py (line 148)
app/auth/controllers.py (lines 58-64)
app/indexer/htmlparser.py (lines 127, 136)
app/indexer/pdfparser.py (line 44)
Description
Multiple locations use bare except: or overly broad except Exception: clauses. These catch all exceptions including SystemExit and KeyboardInterrupt, mask the actual error type, and make debugging difficult.
Files:
app/utils_db.py(lines 172, 178, 299)app/utils.py(lines 53, 142, 163)app/indexer/controllers.py(line 408)app/settings/controllers.py(line 148)app/auth/controllers.py(lines 58-64)app/indexer/htmlparser.py(lines 127, 136)app/indexer/pdfparser.py(line 44)Description
Multiple locations use bare
except:or overly broadexcept Exception:clauses. These catch all exceptions includingSystemExitandKeyboardInterrupt, mask the actual error type, and make debugging difficult.