Peter Marklund

Peter Marklund's Home

Fri April 03, 2009
Programming

Plugin Stack Traces Missing in Rails 2.3.2

I endured a nightmarish debugging session yesterday due to Rails no longer showing proper stack traces from exceptions in plugin code. I've verified this across different Rails apps and it seems to actually be the case that with Rails 2.3.2 you no longer get a stack trace from plugins. Has anybody else had issues with this? Any pointers to where in the Rails code exception handling and stack traces are dealt with and how it could be fixed? I posted about this issue on the Rails core list but haven't received a reply yet.

Comments

David Backeus said about 1 year ago:

http://afreshcup.com/2008/11/29/rails-23-backtrace-silencing/

--------------------------------------------------------------------------------

Peter Marklund said about 1 year ago:

Wow, thanks David for pointing that out. The BackTraceCleaner is a funky new "feature" in Rails that I had missed. I put feature in qutoation marks as it clearly has some negative side effects...

Peter

--------------------------------------------------------------------------------

Leave a Comment




 


Use plain text for your comments. HTML will be quoted. URLs will be turned into hyperlinks. Linebreaks will be preserved.