Skip to content

Commit

Permalink
Prettify error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckerruebe committed Oct 30, 2024
1 parent ab1534b commit a0bbc7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytrnsys/rsim/getConfigMixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def getConfig(self):
if "defaultVisibility" in self.inputs:
value: str = self.inputs["defaultVisibility"]
if value not in ("local", "global"):
raise ValueError(f'Default visibility must be "local" or "global", but was {value}.')
raise ValueError(f'Default visibility must be "local" or "global", but was "{value}".')

valueUpperCase = value.upper()

Expand Down

0 comments on commit a0bbc7c

Please sign in to comment.