title: Honeybadger on localhost with Ruby on Rails
body: <p>I've set up Honeybadger almost a year ago and so far it works like a charm registering errors on my production and staging environments. </p>
  
  <p>Then I decided to make a custom error behavior in controller. I am using the code similar to:</p>
  
  <pre><code>     begin
        params = {
          :id =&gt; 1,
          :class =&gt; MyClass,
          :foo =&gt; "bar"
        }
        my_unpredicable_method(*params)
      rescue =&gt; e
        Honeybadger.notify(
          :error_class   =&gt; "Special Error",
          :error_message =&gt; "Special Error: #{e.message}",
          :parameters    =&gt; params
        )
      end
  </code></pre>
  
  <p>which is described <a href="http://docs.honeybadger.io/article/41-manually-sending-exceptions-and-events" rel="nofollow">here</a>. </p>
  
  <p>I was going to test in local environmet to tune error messages, passing params, etc.
  But the problem is when I receive the error (I am sure that I receive it, tested with debugger) nothing is sent to honeybadger website. Meanwhile, <code>rake honeybadger:test</code> works fine and sends the testing error messages to the server from localhost. Also, this custom notification works if I push it to testing environment on Heroku.</p>
  
  <p>The question is:</p>
  
  <p><strong>What should I do to send this custom error to honeybadger from localhost?</strong></p>
  
  <p>Thank you in advance.</p>