Skip to content

Commit

Permalink
Merge pull request #19229 from jrafanie/hammer_do_not_log_backtrace_o…
Browse files Browse the repository at this point in the history
…f_expected_exception

[HAMMER] log_backtrace won't print backtrace for MiqException errors
  • Loading branch information
simaishi authored Oct 4, 2019
2 parents de5e4c8 + 1b4010f commit 3def69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/embedded_ansible/provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class ManageIQ::Providers::EmbeddedAnsible::Provider < ::Provider

def self.raw_connect(base_url, username, password, verify_ssl)
return super if MiqRegion.my_region.role_active?('embedded_ansible')
raise StandardError, 'Embedded ansible is disabled'
raise MiqException::Error, 'Embedded ansible is disabled'
end
end

0 comments on commit 3def69b

Please sign in to comment.