How to get Rails Heroku log backtrace from Heroku error

大城市里の小女人 提交于 2019-12-10 08:23:05

问题


I using rails 3.2.3 on Heroku Bamboo stack. I got this error last night from my logs but can't diagnose exactly where and why its occurring. How can I get the entire backtrace of the error from my heroku logs?

app[web.2]: !! Unexpected error while processing request: can't modify frozen array
heroku[router]: Error H13 (Connection closed without response) -> GET

回答1:


This isn't a direct answer to your question, since as far as I know you cannot get the backgrace from the log file. you get what you get.

However, I can't recommend airbrake enough for this type of error capturing.



来源:https://stackoverflow.com/questions/10640539/how-to-get-rails-heroku-log-backtrace-from-heroku-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!