lib/travis/cli/command.rb in travis-1.3.1 vs lib/travis/cli/command.rb in travis-1.4.0

- old
+ new

@@ -131,10 +131,12 @@ setup run(*arguments) store_config rescue StandardError => e raise(e) if explode? - error e.message + message = e.message + message += " - need to run `travis login` again?" if Travis::Client::Error === e and message == 'access denied' + error message end def command_name self.class.command_name end