-
Notifications
You must be signed in to change notification settings - Fork 32
Wrong number of arguments error in send_error_response
#15
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
Comments
Had to fork it as well Could this be addressed? |
Closed
Are there any plans on releasing a version with the fix? |
This was fixed over a year ago in #16 but a new version of the gem hasn't been published still. |
Closing as a new gem version had been published. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When my functions raise errors I get the following additional error printed out to the logs:
I'm using the RIC with the Ruby Alpine docker images. Ruby version is 2.7.3p183.
It looks like a method signature mismatch in:
aws-lambda-ruby-runtime-interface-client/lib/aws_lambda_ric.rb
Line 109 in d5cfe4f
I monkey patched it to
def send_error_response(lambda_invocation, err, exit_code = nil, runtime_loop_active = true)
(last parameter converted to positional parameter) and that seemed to fix it.Either that or the call sites for
send_error_response
need to change.The text was updated successfully, but these errors were encountered: