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. 109: Information exposure through an exception

Daniel Petti261a5bb2b512
diff --git a/src/local_deep_research/web/routes/api_routes.py b/src/local_deep_research/web/routes/api_routes.py
index 8faa1de820..db6911d832 100644
--- a/src/local_deep_research/web/routes/api_routes.py
+++ b/src/local_deep_research/web/routes/api_routes.py
@@ -56,8 +56,8 @@ def get_current_config():
return jsonify({"success": True, "config": config})
except Exception as e:
- logger.error(f"Error getting current config: {e}")
- return jsonify({"success": False, "error": str(e)}), 500
+ logger.exception("Error getting current config")
+ return jsonify({"success": False, "error": "An internal error occurred"}), 500
# API Routes