🐛 fix(base.py): include vertex ID in error message to provide more context when building a node fails
This commit is contained in:
parent
2fbb68d6a6
commit
0286353695
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class Vertex:
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.exception(exc)
|
logger.exception(exc)
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Error building node {self.vertex_type}: {str(exc)}"
|
f"Error building node {self.vertex_type}(ID:{self.id}): {str(exc)}"
|
||||||
) from exc
|
) from exc
|
||||||
|
|
||||||
def _update_built_object_and_artifacts(self, result):
|
def _update_built_object_and_artifacts(self, result):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue