Ignoring User Agent

Jon Lim's Avatar

Jon Lim

22 Jun, 2012 08:27 AM

Hi

I am trying to ignore scan alert user agents, but I still get them.

Both these lines are in my intializer:

config.ignore_user_agent  << /ScanAlert/
config.ignore_user_agent  << %r{http://www\.scanalert\.com/bot\.jsp}

Any help appreciated.

Thanks
Jon

  1. Support Staff 2 Posted by Morgan on 27 Jun, 2012 05:21 PM

    Morgan's Avatar

    Hi Jon,

    This issue should be fixed by upgrading to the latest current gem version of airbrake 3.1.1 also please try to pass the user agents in as strings, this may solve the issue.
    like:

    config.ignore_user_agent << "ScanAlert"
    config.ignore_user_agent << "scanalert"
    

    Please let me know if you need anything else and feel free to reopen if this is still an issue!

    From,
    Morgan

  2. Morgan closed this discussion on 27 Jun, 2012 05:21 PM.

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