本文介绍了如何从Heroku错误中获取Rails Heroku日志回溯的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Heroku Bamboo堆栈上使用rails 3.2.3。我昨天晚上从我的日志中得到了这个错误,但无法准确诊断它发生的位置和原因。如何从我的heroku日志中获取错误的整个回溯?

  app [web.2]:!!处理请求时出现意外错误:无法修改冻结数组
heroku [路由器]:错误H13(连接无响应关闭) - > GET


解决方案

这不是对您问题的直接回答,因为据我所知,你不能从日志文件中获得背景。你得到你所得到的。



然而,我不能推荐足以用于这种类型的错误捕获。


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日志回溯的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 08:19