Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个 rails 3.2 应用程序来记录哪个 gem 拥有代码,发生异常的地方。
是否可以?
可以通过 $ERROR_INFO.caller 打印出执行堆栈,找出异常发生的位置。