1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-12-22 12:30:01 +00:00

sentry: new version

This commit is contained in:
Steven Hugg 2019-12-14 04:48:03 -06:00
parent 70ed0b1cd7
commit 27af51cfc5

View File

@ -39,8 +39,8 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<!-- Sentry error reporting -->
<script
src="https://browser.sentry-cdn.com/5.9.1/bundle.min.js"
integrity="sha384-/x1aHz0nKRd6zVUazsV6CbQvjJvr6zQL2CHbQZf3yoLkezyEtZUpqUNnOLW9Nt3v"
src="https://browser.sentry-cdn.com/5.10.2/bundle.min.js"
integrity="sha384-ssBfXiBvlVC7bdA/VX03S88B5MwXQWdnpJRbUYFPgswlOBwETwTp6F3SMUNpo9M9"
crossorigin="anonymous"></script>
<script>
if (window.location.host.endsWith('8bitworkshop.com')) {
@ -49,8 +49,8 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
beforeBreadcrumb(breadcrumb, hint) {
if (breadcrumb.category === 'xhr' && typeof breadcrumb.data.url === 'string') {
if (breadcrumb.data.url.startsWith('http')) return null; // discard external scripts
return breadcrumb;
}
return breadcrumb;
},
});
}