Skip to content

Commit

Permalink
fix aws auth failure exception message (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric05 authored Sep 13, 2022
1 parent 9fc0c0b commit 52f844d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dothttp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ def load_auth(self):
## with current state, we are not support this use case
## we may come back
## all four parameters are required and are to be non empty
raise DothttpAwsAuthException()
raise DothttpAwsAuthException(access_id = access_id)

def get_current_or_base(self, attr_key) -> Any:
if getattr(self.http, attr_key):
Expand Down
2 changes: 1 addition & 1 deletion dothttp/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.41a7'
__version__ = '0.0.41'
2 changes: 1 addition & 1 deletion dothttp/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ class ScriptException(DotHttpException):
pass


@exception_wrapper("AWSAuth expects all(access_id, secret_token, region, service) to be non empty `{access_id}`")
@exception_wrapper("AWSAuth expects all(access_id, secret_token, region, service) to be non empty access_id:`{access_id}`")
class DothttpAwsAuthException(DotHttpException):
pass

0 comments on commit 52f844d

Please sign in to comment.