Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions RELEASE.CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Jun 10, 2025
`3.1.3`
- Handle Signal Exceptions during Runtime API Http Requests Gracefully and Version Bump to 3.1.3 ([#50](https://github.com/aws/aws-lambda-ruby-runtime-interface-client/pull/50))

### Jun 6, 2025
`3.1.2`
- Don't Ignore Custom Formatters. ([#49](https://github.com/aws/aws-lambda-ruby-runtime-interface-client/pull/49))
Expand Down
2 changes: 2 additions & 0 deletions lib/aws_lambda_ric/lambda_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def next_invocation
"Received #{resp.code} when waiting for next invocation."
)
end
rescue SignalException => sig
raise LambdaErrors::InvocationError.new("Next invocation HTTP request from the runtime interface client was interrupted with a #{sig} SIGNAL, gracefully shutting down.")
rescue LambdaErrors::InvocationError => e
raise e
rescue StandardError => e
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_lambda_ric/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module AwsLambdaRIC
VERSION = '3.1.2'
VERSION = '3.1.3'
end