Skip to content

Commit

Permalink
update exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
vachillo committed Aug 5, 2024
1 parent 5b823e7 commit 7e58401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion griptape/structures/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def resolve_relationships(self) -> None:
task_by_id = {}
for task in self.tasks:
if task.id in task_by_id:
raise ValueError(f"Task with id {task.id} already exists.")
raise ValueError(f"Duplicate task with id {task.id} found.")
task_by_id[task.id] = task

for task in self.tasks:
Expand Down

0 comments on commit 7e58401

Please sign in to comment.