16

On a test system I have a lot of 404 errors that are not important to me right now. Still they are cluttering the console in Chromium's Developer Tools, making it pretty much useless.

Is it possible to ignore errors of a certain type? In this case, I want all 404-errors to not be shown.

k0pernikus
  • 60,309
  • 67
  • 216
  • 347

3 Answers3

6

If you need to filter errors for a particular domain, you can now do this directly using Chrome Developer Tools. Simply right click on the error you want to hide and then click Filter => Hide messages from...

brasofilo
  • 25,496
  • 15
  • 91
  • 179
Dana Woodman
  • 4,148
  • 1
  • 38
  • 35
  • There is no "Filter" for the current version of Chrome? Just "Hide messages from..." and it's not the domain itself. – Anh-Thi DINH Mar 11 '23 at 16:43
1

So for instance; https://i.stack.imgur.com/IVL0U.png shows the errors, all blocked by client with adblock etc, I want to hide "AdBar errors", so:

Basically:

  1. Click the filter button, click errors to only show errors, then use the following regex:
  2. ^((?!X|Y|Z).)*$
owhs
  • 173
  • 1
  • 7
-3

I had a MVC web project a while ago, in the web.config section, I used to use this

<customErrors mode="Off"/>
Cal
  • 67
  • 1
  • 9
  • I think you misunderstood the question. The customErrors tag that you mention is in the ASP.NET MVC's web.config. This question is in regard to Chromium Dev Tools. – Don Rolling Aug 22 '16 at 14:56