Skip to content

Local Jump Error Listing Recordings #663

Open
@JYorston

Description

@JYorston

Issue Summary

Upgrading from 5.56.0 to 6.1.0 has introduced a bug for us in the following code.

Downgrading back to 5.56.0 resolves the issue.

Steps to Reproduce

  1. Run the below code snippet on 6.1.0, local jump error exists.
  2. Rollback to 5.56.0, error does not occur.

Code Snippet

        client = Twilio::REST::Client.new(api_key_sid, api_key_secret, account_sid)
        recordings = client.video.v1.recordings.list(grouping_sid: ['SOME_ROOM_ID'],
                                                    limit: 20)

Exception/Log

LocalJumpError: no block given (yield)
from /Users/jamesyorston/.rbenv/versions/2.7.6/lib/ruby/gems/2.7.0/gems/twilio-ruby-6.0.1/lib/twilio-ruby/framework/serialize.rb:77:in `block in serialize_list'

Technical details:

  • twilio-ruby version: 6.1.0
  • ruby version: 2.7.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: work in progressTwilio or the community is in the process of implementingtype: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions