aws / aws-lambda-go

Libraries, samples and tools to help Go developers develop AWS Lambda functions.
Apache License 2.0
3.58k stars 548 forks source link

[BUG] Traceability panic error memory address runtime al2023 #559

Open florianlev opened 2 months ago

florianlev commented 2 months ago

Since changing the runtime of our lambdas from go1.x to provider.al2023, I'm encountering a problem with the traceability of panic error memory logs. Instead of

invalid memory address or nil pointer dereference

and the line number where it stops, I have:

calling the handler function resulted in a panic, the process should exit
Unknown application error occurred Runtime.Unknown

This message appears on all my functions with the "provider.al2023" runtime.

Thanks.