Odd exceptions from latest notifier

Tecnh's Avatar


22 Oct, 2010 12:10 AM

My system has hoptoad_notifier 2.3.10 and 2.3.8 installed. The line in environment.rb doesn't specify a version so I assume I'm using v2.3.10.

I'm seing a few messages I don't really understand:

Error Message:
missing ; before statement

[PROJECT_ROOT]/, line 296

[PROJECT_ROOT]/:296:in `{anonymous}()'

This is suggesting the error message was in line 296 of the welcomes#index action but the entire controller is only 47 lines long. And line 296 on the web page itself is a </ul> element.

Here's another:

Error Message:
Error loading script

http, line 0

http://www.google-analytics.com/ga.js:1:in `{anonymous}()'

This one I understand (it looks like there was a problem loading Google Analytics) but why the details in 'where' locating the error at http, line 0 ?

I know this is beta, if these are just errors and they'll go away I'm happy to ignore them. I'm just trying to figure out what to do with errors like these.



  1. 2 Posted by Chad Pytel on 22 Oct, 2010 02:48 PM

    Chad Pytel's Avatar


    Both of these errors are from the javascript notifier, which you've enabled in your Hoptoad configuration. They represent actual javascript errors that people browsing your site are getting. Admittedly, the information contained in those particular error notifications isn't incredibly useful right now, and we're working on improving the utility of the js notifier.

    If its just not useful to you, you can disable it in your Hoptoad configuration block.

  2. 3 Posted by Tecnh on 22 Oct, 2010 02:55 PM

    Tecnh's Avatar

    :-) I guessed as much, but then I saw the Rails controller/action and thought maybe I was just being dense.

    I know the javascript on this particular site sucks and look forward to watching the information evolve to a place where we can action it. We'll keep the mode on for now and simply ignore any messages we can't parse.


  3. Tecnh closed this discussion on 22 Oct, 2010 02:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac