mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-22 14:33:51 +00:00
got rid of Sentry error msg on localhost
This commit is contained in:
parent
3244c17ce1
commit
7054ae2360
@ -573,7 +573,7 @@ $( ".dropdown-submenu" ).click(function(event) {
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script>
|
||||
Sentry.init({
|
||||
if (window.Sentry) Sentry.init({
|
||||
dsn: 'https://bf329df3d1b34afa9f5b5e8ecd80ad11@o320878.ingest.sentry.io/1813925',
|
||||
beforeBreadcrumb(breadcrumb, hint) {
|
||||
if (breadcrumb.category === 'xhr' && typeof breadcrumb.data.url === 'string') {
|
||||
|
Loading…
Reference in New Issue
Block a user