seek-oss-ci
released this
05 Nov 03:35
·
3 commits
to main
since this release
Patch Changes
-
HookStack: Improve logging on Lambda function errors (#81)
When the
BeforeAllowTraffic
hook invokes your Lambda function and receives aFunctionError
back, it now logs additional information from the response payload to aid troubleshooting:{ "err": { "message": "Lambda function responded with error: Unhandled", + "payload": { + "errorMessage": "RequestId: 00000000-0000-0000-0000-000000000000 Error: Task timed out after 1.00 seconds", + "errorType": "Sandbox.Timedout" + }, "stack": "Error: Lambda function responded with error: Unhandled...", "type": "Error" }, "level": 50, "msg": "Failed to process lifecycle event" }