mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 00:11:16 -05:00
Remove "link test" from cbc-proxy log output
The `_invoke_lambda` function is called when sending both link test and real message types. Signed-off-by: Richard Baker <richard.baker@digital.cabinet-office.gov.uk>
This commit is contained in:
@@ -123,7 +123,7 @@ class CBCProxyClientBase(ABC):
|
|||||||
payload_bytes = bytes(json.dumps(payload), encoding='utf8')
|
payload_bytes = bytes(json.dumps(payload), encoding='utf8')
|
||||||
try:
|
try:
|
||||||
current_app.logger.info(
|
current_app.logger.info(
|
||||||
f"Calling lambda {lambda_name} for link test with payload {payload}"
|
f"Calling lambda {lambda_name} with payload {payload}"
|
||||||
)
|
)
|
||||||
|
|
||||||
result = self._lambda_client.invoke(
|
result = self._lambda_client.invoke(
|
||||||
|
|||||||
Reference in New Issue
Block a user