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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -