Filtering adblocked requests


Posted on
Aug 15 2022

Our application makes calls to that are blocked by ad blockers and we end up with "Failed to fetch" errors in raygun. We'd like to filter these out but it isn't clear to me how to do this using the various filter options.

Is it possible to filter based on the stacktrace of the error? That would be sufficient as there are references to "" in the stracktrace. Unfortunately the top-level failure message is just "Failed to fetch" and we don't want to filter all of those.



Posted on
Aug 22 2022

Hi there,

Thank you for reaching out to us and for the patience.

You might be able to use our ignore3rdPartyErrors option to avoid errors from these libraries.

You can check out the docs here for more info before implementing -

Kind regards,