lib/travis/cli/command.rb in travis-1.8.10.travis.994.9 vs lib/travis/cli/command.rb in travis-1.8.10.travis.997.9

- old
+ new

@@ -199,9 +199,12 @@ clear_error store_config rescue Travis::Client::NotLoggedIn => e raise(e) if explode? error "#{e.message} - try running #{command("login#{endpoint_option}")}" + rescue Travis::Client::RepositoryMigrated => e + raise (e) if explode? + error e.message rescue Travis::Client::NotFound => e raise(e) if explode? error "resource not found (#{e.message})" rescue Travis::Client::Error => e raise(e) if explode?