stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.04k stars 391 forks source link

Disable logging for requests aborted due to skipThirdPartyRequests, for #242 #436

Open tbiller opened 4 years ago

tbiller commented 4 years ago

Description

Currently, requests aborted with skipThirdPartyRequests = true result in lots of logs of Failed to load resource: net::ERR_FAILED, see #242

This change passes in a blockedbyclient error code when the request is aborted and then silences logging.