# Stack traces from plugins missing in Rails 2.3?

**URL:** <https://discuss.rubyonrails.org/t/stack-traces-from-plugins-missing-in-rails-2-3/41180>\
**Category:** rubyonrails-core\
**Created:** [April 3, 2009, 8:01am UTC](https://discuss.rubyonrails.org/t/stack-traces-from-plugins-missing-in-rails-2-3/41180 "2009-04-03T08:01:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Marklund](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@Peter\_Marklund](https://discuss.rubyonrails.org/u/Peter_Marklund)\
**Post date:** [April 3, 2009, 8:01am UTC](https://discuss.rubyonrails.org/t/stack-traces-from-plugins-missing-in-rails-2-3/41180/1 "2009-04-03T08:01:08Z")

</div>

Hi! Has anyone experienced that stack traces are missing when exceptions are raised in plugin code? We started having this issue when upgrading from Rails 2.1 to Rails 2.3.2. If I move the code into the application I get the stack trace back. Any ideas what could be causing this? How is Rails interfering with the the stack trace? Any pointers would be appreciated.

Thanks!

Peter Marklund [http://marklunds.com](http://marklunds.com)

---

<div class="post-metadata">

**Author:** ![lazyatom](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/lazyatom/32/12690_2.png) [@lazyatom](https://discuss.rubyonrails.org/u/lazyatom)\
**Post date:** [April 3, 2009, 3:23pm UTC](https://discuss.rubyonrails.org/t/stack-traces-from-plugins-missing-in-rails-2-3/41180/2 "2009-04-03T15:23:48Z")

</div>

I can't replicate this here - I created a dummy class in a plugin, with a method that raised an exception, then called that method in a controller method from the app. I see the stack track in the response.

---

<div class="post-metadata">

**Author:** ![Peter\_Marklund](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@Peter\_Marklund](https://discuss.rubyonrails.org/u/Peter_Marklund)\
**Post date:** [April 6, 2009, 7:21am UTC](https://discuss.rubyonrails.org/t/stack-traces-from-plugins-missing-in-rails-2-3/41180/3 "2009-04-06T07:21:01Z")

</div>

Sorry, I hadn't seen the new BackTraceCleaner class and I was enlightened by a friend about this post:

[http://afreshcup.com/2008/11/29/rails-23-backtrace-silencing](http://afreshcup.com/2008/11/29/rails-23-backtrace-silencing)

I'm not sure cleaning out plugin backtraces is a good default setting though as others are bound to have debugging nightmares similar to mine. I have never been too bothered by long stacktraces Rails, but I suppose since this feature was introduced, a lot of people have.

Cheers

Peter
