lib/skylight/cli/doctor.rb in skylight-4.3.2 vs lib/skylight/cli/doctor.rb in skylight-5.0.0.beta

- old
+ new

@@ -22,11 +22,12 @@ say "Certificates located at #{Util::SSL.ca_cert_file_or_default} may be out of date.", :yellow if mac? && rvm_present? say "Please update your certificates with RVM by running `rvm osx-ssl-certs update all`.", :yellow say "Alternatively, try setting `SKYLIGHT_FORCE_OWN_CERTS=1` in your environment.", :yellow else - say "Please update your local certificates or try setting `SKYLIGHT_FORCE_OWN_CERTS=1` in your environment.", :yellow + say "Please update your local certificates or try setting `SKYLIGHT_FORCE_OWN_CERTS=1` in your " \ + "environment.", :yellow end end else say "Unable to reach Skylight servers.", :red end @@ -85,10 +86,10 @@ indent do begin config.validate! say "Configuration is valid", :green - rescue Core::ConfigError => e + rescue ConfigError => e encountered_error! say "Configuration is invalid", :red indent do say e.message, :red