lib/cfoundry/v2/app.rb in cfoundry-4.0.2.rc5 vs lib/cfoundry/v2/app.rb in cfoundry-4.0.3
- old
+ new
@@ -197,10 +197,10 @@
"N/A"
end
else
state
end
- rescue CFoundry::StagingError
+ rescue CFoundry::StagingError, CFoundry::NotStaged
"STAGING FAILED"
end
def running_instances
return @cache[:running_instances] if @cache[:running_instances]