如何从Heroku错误中获取Rails Heroku日志回溯 [英] How to get Rails Heroku log backtrace from Heroku error
本文介绍了如何从Heroku错误中获取Rails Heroku日志回溯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
app [web.2]:!!处理请求时出现意外错误:无法修改冻结数组
heroku [路由器]:错误H13(连接无响应关闭) - > GET
解决方案
这不是对您问题的直接回答,因为据我所知,你不能从日志文件中获得背景。你得到你所得到的。
然而,我不能推荐 airbrake 足以用于这种类型的错误捕获。
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
解决方案
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.
这篇关于如何从Heroku错误中获取Rails Heroku日志回溯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文