Skip to content

Commit

Permalink
fixing inconsistency with exception raising
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbmp33 committed Jan 28, 2025
1 parent 5a5773f commit db4c973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maya/api/OpenMaya.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _get_attribute_properties(node_type, attr_name) -> Tuple[dict, str, str]:
raise KeyError

except KeyError:
raise KeyError(
raise RuntimeError(
f'Could not find attribute info on node type: <{node_type}>. Given attribute name: <{attr_name}>.'
)

Expand Down

0 comments on commit db4c973

Please sign in to comment.