lib/rails/graphql/native/visitor.rb
# Catches if an exception happens inside the block, because visitors on
# the C lib does not pop such expections
Catches if an exception happens inside the block, because visitors on
the C lib does not pop such expections
Catches if an exception happens inside the block because visitors on the C lib does not pop such expections
def safe_call_block(*args)
          block.call(*args)
        rescue Exception => err
          @error ||= err
        end
def safe_call_block ( * args ) block . call ( * args ) rescue Exception => err @error ||= err end
Catches if an exception happens inside the block, because visitors on
the C lib does not pop such expections
Catches if an exception happens inside the block because visitors on the C lib does not pop such expections
args