mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Fix incorrect log line
Should have been `lambda_name` not `self.lambda_name`.
This commit is contained in:
@@ -131,13 +131,13 @@ class CBCProxyClientBase(ABC):
|
||||
|
||||
if result['StatusCode'] > 299:
|
||||
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
|
||||
|
||||
elif 'FunctionError' in result:
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user