aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
258 stars 73 forks source link

Improve error logging #94

Open RichardAtkin opened 1 year ago

RichardAtkin commented 1 year ago

Background The Python awslambdaric v2.0.0 library works perfectly in conjunction with awslambdarie in local dev, and it usually works great in 'proper' Lambda, but unfortunately not all the time. When I invoke some particular in-house libraries while running in Lambda, the invocation dies without giving an insightful reason.

Problem The provided error 'Runtime exited with error: exit status 1' does not help me debug why a fault is happening.

Suggested fixes