Skip to content

Handle Exceptions inside view iterator  #11

@PascalTurbo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions