Skip to content

Commit

Permalink
Update Node.py
Browse files Browse the repository at this point in the history
I'm going to make small PRs whenever I find the error message confusing. Let me know if you would like me to change the wording on this.
  • Loading branch information
loftusa authored Oct 8, 2024
1 parent 7d9bdaf commit ca95ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nnsight/tracing/Node.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def execute(self) -> None:
except Exception as e:

raise type(e)(
f"Above exception when execution Node: '{self.name}' in Graph: '{self.graph.id}'"
f"Above exception when executing Node: '{self.name}' in Graph: '{self.graph.id}'. Did you call `.output` instead of `.output()`?"
) from e

finally:
Expand Down

0 comments on commit ca95ba6

Please sign in to comment.