Alan Coromano
Alan Coromano

Reputation: 26008

How do I find out what the error is on heroku

On localhost my app works well even when I run it in production:

rails s -e production

However on heroku it crashes. Previously it worked. I can't find the reason because "heroku logs" doesn't show much it info, it basically says "error". What kind of error? Where exactly?

Here's my gemfile:

ruby '2.2.1'

gem 'rails', '4.2.4'
group :assets do
  gem 'sass-rails'
  gem 'uglifier' 
end

Upvotes: 2

Views: 42

Answers (1)

Richard Peck
Richard Peck

Reputation: 76774

We use LogEntries in Heroku.

They have a really good feature called "Live Tail" - allowing you to see how the server runs in real time. This gives you verbose access to all the errors etc (much better than Heroku logs):

enter image description here

It's totally free and allows you to monitor your dyno in "real time"; it shows the actual Rails errors too.

Upvotes: 2

Related Questions