我在 Heroku Bamboo 堆栈上使用 rails 3.2.3。我昨晚从我的日志中得到了这个错误,但无法准确诊断它发生的位置和原因。如何从我的 heroku 日志中获取错误的整个回溯?
app[web.2]: !! Unexpected error while processing request: can't modify frozen array
heroku[router]: Error H13 (Connection closed without response) -> GET
我在 Heroku Bamboo 堆栈上使用 rails 3.2.3。我昨晚从我的日志中得到了这个错误,但无法准确诊断它发生的位置和原因。如何从我的 heroku 日志中获取错误的整个回溯?
app[web.2]: !! Unexpected error while processing request: can't modify frozen array
heroku[router]: Error H13 (Connection closed without response) -> GET
这不是您问题的直接答案,因为据我所知,您无法从日志文件中获得回溯。你得到你得到的。
但是,对于这种类型的错误捕获,我不能推荐足够的空气制动。