mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-22 19:51:02 +02:00
Remove debug
This commit is contained in:
parent
7769b29203
commit
12bf05a2a6
1 changed files with 0 additions and 12 deletions
|
|
@ -378,17 +378,6 @@ class Processor(AsyncProcessor):
|
|||
|
||||
logger.info(f"Handling librarian input {id}...")
|
||||
|
||||
# Debug: log types of nested objects
|
||||
if hasattr(v, 'document_metadata') and v.document_metadata:
|
||||
dm = v.document_metadata
|
||||
logger.debug(f"document_metadata type: {type(dm)}")
|
||||
if hasattr(dm, 'metadata'):
|
||||
logger.debug(f"metadata type: {type(dm.metadata)}")
|
||||
if dm.metadata:
|
||||
logger.debug(f"first triple type: {type(dm.metadata[0])}")
|
||||
if hasattr(dm.metadata[0], 's'):
|
||||
logger.debug(f"triple.s type: {type(dm.metadata[0].s)}")
|
||||
|
||||
try:
|
||||
|
||||
resp = await self.process_request(v)
|
||||
|
|
@ -413,7 +402,6 @@ class Processor(AsyncProcessor):
|
|||
|
||||
return
|
||||
except Exception as e:
|
||||
logger.error(f"Unexpected error processing request: {e}", exc_info=True)
|
||||
resp = LibrarianResponse(
|
||||
error = Error(
|
||||
type = "unexpected-error",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue