# File lib/launchy.rb, line 25
    def open(uri, options = {} )
      begin
        extract_global_options( options )
        uri = Addressable::URI.parse(  uri )
        app = Launchy::Application.handling( uri )
        app.new.open( uri, options )
      rescue Exception => e
        msg = "Failure in opening #{uri} with options #{options.inspect}: #{e}"
        Launchy.log "#{self.name} : #{msg}"
        e.backtrace.each do |bt|
          Launchy.log bt
        end
        $stderr.puts msg
      end
    end