Skip to content

Commit

Permalink
Template auth method not implemented error message
Browse files Browse the repository at this point in the history
Fixes #650
  • Loading branch information
briantist committed Dec 2, 2020
1 parent 7a8642e commit 92dbf94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hvac/api/vault_api_category.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __getattr__(self, item):
private_attr_name = self.get_private_attr_name(item)
return getattr(self, private_attr_name)
if item in [u.lower() for u in self.unimplemented_classes]:
raise NotImplementedError('"%s" auth method class not currently implemented.')
raise NotImplementedError('"%s" auth method class not currently implemented.' % item)
raise AttributeError

@property
Expand Down

0 comments on commit 92dbf94

Please sign in to comment.