jQuery ajax: how to prevent 404 errors spam in chrome DevTools? -
this question has answer here:
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:
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
Post a Comment