Refactor #3158
closed
Remove rescues from try calls where method doesn't exist
Added by Dominic Cleal over 11 years ago.
Updated over 6 years ago.
Description
Via #3129, we added rescues to our try calls in app/helpers/compute_resources_vms_helper.rb as the method may not exist. Rails 4.0's #try will return nil instead of throwing an error, so these can be removed.
- Related to Bug #3129: unable to show EC2 vm info added
- Assignee set to Kavita Gaikwad
- Target version set to 1.15.6
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4085 added
- Target version changed from 1.15.6 to 1.15.4
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 209
Also available in: Atom
PDF