# Exception Notifier plugin has stopped working

**URL:** <https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158>\
**Category:** Rails\
**Created:** [October 5, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158 "2006-10-05T20:26:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [October 5, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158/1 "2006-10-05T20:26:32Z")

</div>

Exception Notifier seems to have ceased working for some reason. I  
thought perhaps a change in edge rails was to blame, but I rolled back  
to 4900 and the problem was still there.

The problem is that it generates an error in the \_session.rhtml partial.

It looks as if a method in the PP class is bombing. It says wrong  
number of argument (1 for 0), but there is no method on that line with  
only 1 argument.

Any help is appreciated.

* * *

ActionView::TemplateError (wrong number of arguments (1 for 0)) on line  
#3 of  
vendor/plugins/exception\_notification/views/exception\_notifier/\_session.rhtml:  
1: \<% for variable in @request.session.instance\_variables -%\>  
2: \<% next if variable =~ /^@db/ -%\>  
3: \* \<%= variable %\>: \<%=  
PP.pp(@request.session.instance\_variable\_get(variable),"").gsub(/\n/,  
"\n ").strip %\>  
4: \<% end -%\>

```
/usr/local/lib/ruby/1.8/pp.rb:244:in `method'
/usr/local/lib/ruby/1.8/pp.rb:244:in `pretty_print'
/usr/local/lib/ruby/1.8/pp.rb:126:in `pp'
...snipped...

```

* * *

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [October 6, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158/2 "2006-10-06T18:44:28Z")

</div>

Alex W. wrote:

> Exception Notifier seems to have ceased working for some reason. The  
> problem is that it generates an error in the \_session.rhtml partial.
> 
> * * *
> 
> ## ActionView::TemplateError (wrong number of arguments (1 for 0)) on line #3 of vendor/plugins/exception\_notification/views/exception\_notifier/\_session.rhtml: 3: \* \<%= variable %\>: \<%= PP.pp(@request.session.instance\_variable\_get(variable),"").gsub(/\n/, "\n ").strip %\> /usr/local/lib/ruby/1.8/pp.rb:244:in `method' /usr/local/lib/ruby/1.8/pp.rb:244:in`pretty\_print’ /usr/local/lib/ruby/1.8/pp.rb:126:in `pp’ …snipped…

bump for great justice.

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [October 7, 2006, 8:31am UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158/3 "2006-10-07T08:31:44Z")

</div>

I had this problem on edge, but when I backed off to the most recent  
stable version it went away. Did you way what version of Rails you  
were running?

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [October 7, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/exception-notifier-plugin-has-stopped-working/71158/4 "2006-10-07T15:44:35Z")

</div>

Steve R. wrote:

> I had this problem on edge, but when I backed off to the most recent  
> stable version it went away. Did you way what version of Rails you  
> were running?

It seems to be fixed in the latest version of edge. Strange though as I  
rolled back to 4900 and still had the problem. Perhaps it’s been broken  
in edge for while?

Well it seems ok now. I’ll keep my fingers crossed.
