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.

fix(web): add missing exception logging in history routes (#3228)

LearningCircuit083eae26b09f
diff --git a/src/local_deep_research/web/routes/history_routes.py b/src/local_deep_research/web/routes/history_routes.py
index a329eeb91a..ec88008ca9 100644
--- a/src/local_deep_research/web/routes/history_routes.py
+++ b/src/local_deep_research/web/routes/history_routes.py
@@ -321,6 +321,9 @@ def get_report(research_id):
}
)
except Exception:
+ logger.exception(
+ "Failed to retrieve report for research %s", research_id
+ )
return jsonify(
{"status": "error", "message": "Failed to retrieve report"}
), 500
@@ -357,6 +360,10 @@ def get_markdown(research_id):
return jsonify({"status": "success", "content": content})
except Exception:
+ logger.exception(
+ "Failed to retrieve markdown report for research %s",
+ research_id,
+ )
return jsonify(
{"status": "error", "message": "Failed to retrieve report"}
), 500