jQuery ajax: how to prevent 404 errors spam in chrome DevTools? -


i'm communicating couchdb via jquery ajax, , '404' errors expected rest contract. each requests ends '404', '412' or so, google chrome write red error line in devtools console, this:

chrome devtools

is possible somehow configure jquery '404' not error given request? fake errors spam clutter output , can miss real errors or console.log while looking @ hundreds of fake '404' , '412' "errors" :).

this not possible programmatically, due potential script misuse blocking or filtering of errors in console hide activities chrome user.

you can of course filter messages in console error, warn, debug.

you can add voice those asking more powerful capabilities filter console messages in chrome, when view console can filter out messages clog up. 1 of posts offer tool tag own console messages , filter them.

if want highlight error in console, can add styles when logging in own code. e.g following make message stand out:

console.log("%cuser %s has %d points", "color:orange; background:blue; font-size: 16pt", username, userpoints); 

Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -