Skip to content
Compare
Choose a tag to compare
@seek-oss-ci seek-oss-ci released this 05 Nov 03:35
· 3 commits to main since this release
47aea1d

Patch Changes

  • HookStack: Improve logging on Lambda function errors (#81)

    When the BeforeAllowTraffic hook invokes your Lambda function and receives a FunctionError 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"
    }