We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52deb74 commit 989ac7cCopy full SHA for 989ac7c
graphiti_core/utils/maintenance/node_operations.py
@@ -167,8 +167,8 @@ async def extract_nodes(
167
entity_classifications = llm_response.get('entity_classifications', [])
168
node_classifications.update(dict(zip(entities, entity_classifications)))
169
# catch classification errors and continue if we can't classify
170
- finally:
171
- logger.error(f'Failed to classify nodes: {extracted_node_names}')
+ except Exception as e:
+ logger.error(f'Failed to classify nodes: {extracted_node_names} with error: {e}')
172
173
end = time()
174
logger.debug(f'Extracted new nodes: {extracted_node_names} in {(end - start) * 1000} ms')
0 commit comments