pagekit / vue-resource

The HTTP client for Vue.js
MIT License
10.08k stars 1.6k forks source link

How to prevent a console.error on certain GET requests? #727

Open bagbyte opened 5 years ago

bagbyte commented 5 years ago

Is there any way to prevent a console.error when I request a certain URL? Specifically, I'm using Gravatar API to check if an image is available or not, and if not I have some different logic. When the image is not available I want the API to return 404, so I can handle this in my application logic, but then I get a 404 in the console, and I would like to avoid this.