Skip to content

Commit 3532f14

Browse files
Jeff DutilJeff Dutil
Jeff Dutil
authored and
Jeff Dutil
committed
Fix base error class for v2.
1 parent a1291dc commit 3532f14

File tree

1 file changed

+1
-1
lines changed
  • lib/aws/session_store/dynamo_db/locking

1 file changed

+1
-1
lines changed

lib/aws/session_store/dynamo_db/locking/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def delete_session(env, sid)
5656
def handle_error(env = nil, &block)
5757
begin
5858
yield
59-
rescue Aws::DynamoDB::Errors::Base => e
59+
rescue Aws::DynamoDB::Errors::ServiceError => e
6060
@config.error_handler.handle_error(e, env)
6161
end
6262
end

0 commit comments

Comments
 (0)