heroku/heroku — Issue #171: `heroku logs` error handling
Author: mmcgrana
Created: 2011-10-26 15:42:25+00:00
State: open

Should the CLI present a more graceful error message when encountering problems with the logging service?

~ $ heroku logs -t -a ion-mark
/Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:560:in `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:560:in `open'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:560:in `connect'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:53:in `timeout'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/timeout.rb:101:in `timeout'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:560:in `connect'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /Users/mmcgrana/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/net/http.rb:542:in `start'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/gems/heroku-2.11.0/lib/heroku/client.rb:389:in `read_logs'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/gems/heroku-2.11.0/lib/heroku/command/logs.rb:31:in `index'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/gems/heroku-2.11.0/lib/heroku/command.rb:114:in `send'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/gems/heroku-2.11.0/lib/heroku/command.rb:114:in `run'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/gems/heroku-2.11.0/bin/heroku:14
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/bin/heroku:19:in `load'
from /Users/mmcgrana/.rvm/gems/ruby-1.8.7-p334/bin/heroku:19
~ $ heroku version
heroku-gem/2.11.0