pagekit / vue-resource

The HTTP client for Vue.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

bagbyte opened this issue · comments

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.