Skip to content

Commit 0804e0c

Browse files
Log reported lambda runtime init errors (#8009)
1 parent 77405cf commit 0804e0c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

localstack/services/awslambda/invocation/executor_endpoint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
ServiceEndpoint,
1515
)
1616
from localstack.services.edge import ROUTER
17+
from localstack.utils.strings import to_str
1718

1819
LOG = logging.getLogger(__name__)
1920
INVOCATION_PORT = 9563
@@ -77,6 +78,7 @@ def status_ready(request: Request, executor_id: str) -> Response:
7778
return Response(status=HTTPStatus.ACCEPTED)
7879

7980
def status_error(request: Request, executor_id: str) -> Response:
81+
LOG.warning("Execution environment startup failed: %s", to_str(request.data))
8082
self.service_endpoint.status_error(executor_id=executor_id)
8183
return Response(status=HTTPStatus.ACCEPTED)
8284

localstack/services/awslambda/packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
LAMBDA_RUNTIME_INIT_URL = "https://github.com/localstack/lambda-runtime-init/releases/download/{version}/aws-lambda-rie-{arch}"
1111

12-
LAMBDA_RUNTIME_DEFAULT_VERSION = "v0.1.15-pre"
12+
LAMBDA_RUNTIME_DEFAULT_VERSION = "v0.1.16-pre"
1313

1414
# GO Lambda runtime
1515
GO_RUNTIME_VERSION = "0.4.0"

0 commit comments

Comments
 (0)