From 52f844dad1ae0695c0fd344de9f2e41338b83f7d Mon Sep 17 00:00:00 2001 From: Prasanth Date: Tue, 13 Sep 2022 20:52:59 +0530 Subject: [PATCH] fix aws auth failure exception message (#145) --- dothttp/__init__.py | 2 +- dothttp/__version__.py | 2 +- dothttp/exceptions.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dothttp/__init__.py b/dothttp/__init__.py index d80c672..5eb9006 100644 --- a/dothttp/__init__.py +++ b/dothttp/__init__.py @@ -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): diff --git a/dothttp/__version__.py b/dothttp/__version__.py index 2e01b9f..4af9abb 100644 --- a/dothttp/__version__.py +++ b/dothttp/__version__.py @@ -1 +1 @@ -__version__ = '0.0.41a7' +__version__ = '0.0.41' diff --git a/dothttp/exceptions.py b/dothttp/exceptions.py index 35cc270..17339cd 100644 --- a/dothttp/exceptions.py +++ b/dothttp/exceptions.py @@ -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