Project

General

Profile

Actions

Refactor #3158

closed

Remove rescues from try calls where method doesn't exist

Added by Dominic Cleal over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 issues 2 (0 open2 closed)

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed09/27/2013

Actions
Related to Foreman - Bug #3129: unable to show EC2 vm infoClosed09/20/2013Actions
Actions

Also available in: Atom PDF