Skip to content

Commit

Permalink
Merge pull request #400 from agrare/najdorf_fix_powervs_cloning_rescue
Browse files Browse the repository at this point in the history
[NAJDORF] Replace 'RestClient' rescues
  • Loading branch information
Fryguy authored Jun 30, 2022
2 parents aea32f3 + 7ec9c6c commit f4b3810
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ def start_clone(clone_options)
response&.first&.pvm_instance_id
end
end
rescue RestClient::ExceptionWithResponse => e
rescue IbmCloudPower::ApiError => e
raise MiqException::MiqProvisionError, e.response.to_s
end
rescue RestClient::ExceptionWithResponse => e
rescue IbmCloudPower::ApiError => e
raise MiqException::MiqProvisionError, e.response.to_s
end

Expand Down

0 comments on commit f4b3810

Please sign in to comment.