Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

Potential fix for code scanning alert no. 116: Information exposure through an exception

Daniel Pettie733d1d6fbf2
diff --git a/src/local_deep_research/benchmarks/web_api/benchmark_routes.py b/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
index 308f9183f7..7b76114174 100644
--- a/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
+++ b/src/local_deep_research/benchmarks/web_api/benchmark_routes.py
@@ -570,9 +570,9 @@ def get_saved_configs():
return jsonify({"success": True, "configs": default_configs})
- except Exception as e:
+ except Exception:
logger.exception("Error getting saved configs")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify({"success": False, "error": "An internal error has occurred."}), 500
@benchmark_bp.route("/api/start-simple", methods=["POST"])
@@ -699,9 +699,9 @@ def start_benchmark_simple():
{"success": False, "error": "Failed to start benchmark"}
), 500
- except Exception as e:
+ except Exception:
logger.exception("Error starting simple benchmark")
- return jsonify({"success": False, "error": str(e)}), 500
+ return jsonify({"success": False, "error": "An internal error has occurred."}), 500
@benchmark_bp.route("/api/validate-config", methods=["POST"])