Skip to content

Commit

Permalink
Don't ignore errors in Vm#running_processes
Browse files Browse the repository at this point in the history
The Vm#running_processes method currently logs all errors/exceptions
instead of raising them up.  This causes the tasks to look like they
were successful even though there are warnings in the log about
mis-configuration which should be corrected by the user.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1534023
  • Loading branch information
agrare committed Mar 29, 2018
1 parent 84aae96 commit b187c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/vm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def running_processes
check = validate_collect_running_processes
unless check[:message].nil?
_log.warn(check[:message].to_s)
return pl
raise check[:message].to_s
end

begin
Expand Down

0 comments on commit b187c43

Please sign in to comment.