You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at that server.go, it seems like it all depends on invokeCtx being set, but that wouldn't be set up for init errors given there is not invoke context yet -- something went wrong before it go to that point, right?
The text was updated successfully, but these errors were encountered:
chrisguitarguy
changed the title
Go Panic When Calling the /init/runtime/error Endpoint
Go Panic When Calling the /runtime/init/error Endpoint
Apr 28, 2021
Here's a minimal example that reproduces this: https://github.com/chrisguitarguy/rie-init-error-example (
./run_example
there should do it).Seems to originate from here:
aws-lambda-runtime-interface-emulator/lambda/rapidcore/server.go
Line 223 in 00d793b
There are some additional warnings that show up too:
Looking at that
server.go
, it seems like it all depends oninvokeCtx
being set, but that wouldn't be set up for init errors given there is not invoke context yet -- something went wrong before it go to that point, right?The text was updated successfully, but these errors were encountered: