Skip to content

Handle Exceptions inside view iterator  #11

Description

@PascalTurbo

I'm iterating over the results of a view and I need exceptions to be raised inside the iterator.

From the view example:

res.each do |row|
    # Returns extended results by default
    raise StandardError
end

raise StandardError will stop the iterator and hang the whole application in a useless state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions