filecoin-shipyard / 2019-filecoin-network-stats

(Deprecated) Dashboard by Kyokan for tracking network state of go-filecoin devnets in 2019.
Other
34 stars 12 forks source link

Page fails to load if Sentry is not loaded #41

Closed travisperson closed 5 years ago

travisperson commented 5 years ago

uBlock Origin uses the easylist.to block lists which now contains an entry for browser.sentry-cdn.com. This results in a failure to load the sentry bundle and the page immediately fails with TypeError: window.Sentry is undefined.

A simple check should resolve the issue.

https://github.com/filecoin-project/filecoin-network-stats/blob/abd016883ca12e01868a29706ed9549875b6a904/frontend/src/index.tsx#L21-L23

https://easylist.to/easylist/easyprivacy.txt