Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using non AWS context will cause a panic #3

Closed
jbleduigou opened this issue Apr 3, 2024 · 0 comments · Fixed by #4
Closed

Using non AWS context will cause a panic #3

jbleduigou opened this issue Apr 3, 2024 · 0 comments · Fixed by #4

Comments

@jbleduigou
Copy link
Owner

jbleduigou commented Apr 3, 2024

If using this:

ctx := context.Background()
h := NewAWSLambdaHandler(ctx, nil)

Then you get the following error:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100807364]
@jbleduigou jbleduigou linked a pull request Apr 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant