# File lib/imagefactory/console.rb, line 122
  def import_image(image, build, target_identifier, image_description, target, provider)
    # TODO: return error if there is a problem calling this method or getting
    # a factory instance
    begin
      factory.import_image(image, build, target_identifier, image_description, target, provider)
    rescue Exception => e
      @logger.debug "Encountered error in import_image: #{e}"
      return e
    end
  end