mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 02:13:12 -04:00
Merge pull request #3097 from alphagov/proxy-client-fix
Fix incorrect log line
This commit is contained in:
@@ -131,13 +131,13 @@ class CBCProxyClientBase(ABC):
|
|||||||
|
|
||||||
if result['StatusCode'] > 299:
|
if result['StatusCode'] > 299:
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
f"Error calling lambda {self.lambda_name} with status code { result['StatusCode']}, {result.get('Payload')}"
|
f"Error calling lambda {lambda_name} with status code { result['StatusCode']}, {result.get('Payload')}"
|
||||||
)
|
)
|
||||||
success = False
|
success = False
|
||||||
|
|
||||||
elif 'FunctionError' in result:
|
elif 'FunctionError' in result:
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
f"Error calling lambda {self.lambda_name} with function error { result['Payload'] }"
|
f"Error calling lambda {lambda_name} with function error { result['Payload'] }"
|
||||||
)
|
)
|
||||||
success = False
|
success = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user