From b9ec70acc21e0b163fb2427606ab88392b131c06 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Fri, 15 Jan 2021 16:48:04 +0000 Subject: [PATCH] Fix incorrect log line Should have been `lambda_name` not `self.lambda_name`. --- app/clients/cbc_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/clients/cbc_proxy.py b/app/clients/cbc_proxy.py index df494a298..487afcde4 100644 --- a/app/clients/cbc_proxy.py +++ b/app/clients/cbc_proxy.py @@ -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