Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

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

Open
bagbyte opened this issue Jun 13, 2019 · 0 comments
Open

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

bagbyte opened this issue Jun 13, 2019 · 0 comments

Comments

@bagbyte
Copy link

bagbyte commented Jun 13, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant