    # File lib/phusion_passenger/analytics_logger.rb, line 91
                    def measure(name, extra_info = nil)
                            begin_measure(name, extra_info)
                            begin
                                    yield
                            rescue Exception
                                    error = true
                                    is_closed = closed?
                                    raise
                            ensure
                                    end_measure(name, error) if !is_closed
                            end
                    end