mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
Apply suggested fix to semantica/triplet_store/query_engine.py from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
parent
e8cb337946
commit
9537bf17b3
@@ -226,6 +226,8 @@ class QueryEngine:
|
||||
)
|
||||
return result
|
||||
|
||||
except (ValidationError, ProcessingError):
|
||||
raise
|
||||
except Exception as e:
|
||||
execution_time = (
|
||||
time.time() - start_time if "start_time" in locals() else 0.0
|
||||
|
||||
Reference in New Issue
Block a user