Skip to content

wrap() never returns, causing timeout #239

@kpeters-cbsi

Description

@kpeters-cbsi

This is a Bug Report

Description

  • What went wrong? Lambda handler using wrap() does not return, causing function to time out
  • What did you expect should have happened? handler should have returned
  • What was the config (if any) you used? None
  • What stacktrace or error message did you see? Request timed out

Similar or dependent issues:

  • N/A

Additional Data

  • Which powertool package are you using?: lambda-powertools-pattern-basic
  • Which version are you using?: 1.27.0
  • Middy engine version you're using: 1.4.0
  • Operating System: AWS Lambda / NodeJS
  • Stack Trace: N/A
  • Provider Error messages: N/A

Note that this only seems to happen in Lambdas using mysql2/promise

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions