diff --git a/app/models/manageiq/providers/openstack/manager_mixin.rb b/app/models/manageiq/providers/openstack/manager_mixin.rb index ec0aa39e0..919f33755 100644 --- a/app/models/manageiq/providers/openstack/manager_mixin.rb +++ b/app/models/manageiq/providers/openstack/manager_mixin.rb @@ -1,5 +1,6 @@ module ManageIQ::Providers::Openstack::ManagerMixin extend ActiveSupport::Concern + include ManageIQ::Providers::Openstack::HelperMethods included do after_save :stop_event_monitor_queue_on_change @@ -49,7 +50,7 @@ def translate_exception(err) when MiqException::MiqInvalidCredentialsError, MiqException::MiqHostError err else - MiqException::MiqEVMLoginError.new("Unexpected response returned from system: #{err.message}") + MiqException::MiqEVMLoginError.new("Unexpected response returned from system: #{parse_error_message_from_fog_response(err)}") end end end