debugging - Heroku: get error stack when an error is happening -
is there chance can modify heroku's behaviour error stack have in local?
ex:
nameerror in best#search showing /media/augustin/documents/workspace/best/app/views/layouts/application.html.haml line #29 raised: undefined local variable or method `new_user_session_pat' #<#<class:0x00000002eb09b8>:0x00000004a12008>
instead of:
we're sorry, went wrong.
i know there heroku logs, know not recommended in production environment, since i'm still developping, i'd happy have nicer messages logs ones.
thanks
you can use heroku logs:
$ heroku logs --app your_heroku_app_name
references: http://devcenter.heroku.com/articles/logging
Comments
Post a Comment