require 'colorize' module VagrantPlugins module ConoHa module Action class AbstractAction def call(env) execute(env) # rubocop:disable Style/SpecialGlobalVars # rubocop:disable Lint/RescueException rescue Errors::VagrantOpenstackError, SystemExit, Interrupt => e raise e rescue Exception => e puts I18n.t('vagrant_openstack.global_error').red unless e.message && e.message.start_with?('Catched Error:') raise $!, "Catched Error: #{$!}", $!.backtrace end # rubocop:enable Lint/RescueException # rubocop:enable Style/SpecialGlobalVars end end end end