Browse Source

Remove sentry hooks
Need to find a better solution, sentry was getting flooded with crash reports

StarGazer1258 5 years ago
parent
commit
6fc3161e5b
6 changed files with 10653 additions and 10818 deletions
  1. 10652 10808
      package-lock.json
  2. 1 2
      package.json
  3. 0 3
      public/electron.js
  4. 0 2
      public/sentry.js
  5. 0 1
      src/components/App.js
  6. 0 2
      src/sentry.js

File diff suppressed because it is too large
+ 10652 - 10808
package-lock.json


+ 1 - 2
package.json

@@ -10,7 +10,6 @@
     "url": "https://github.com/StarGazer1258/BeatDrop.git"
   },
   "dependencies": {
-    "@sentry/electron": "^0.15.0",
     "adm-zip": "^0.4.13",
     "electron-is-dev": "^0.3.0",
     "electron-log": "^2.2.17",
@@ -78,4 +77,4 @@
   "browserslist": [
     "electron >= 3.0.10"
   ]
-}
+}

+ 0 - 3
public/electron.js

@@ -8,9 +8,6 @@ const { autoUpdater } = require("electron-updater")
 
 const appIcon = path.join(__dirname, 'assets', 'appicons', 'ico', 'icon.ico')
 
-const Sentry = require('@sentry/electron')
-Sentry.init({ dsn: '***REMOVED***' })
-
 let mainWindow = null
 
 let launchEvents = {

+ 0 - 2
public/sentry.js

@@ -1,2 +0,0 @@
-import * as Sentry from '@sentry/electron'
-Sentry.init({ dsn: '***REMOVED***' })

+ 0 - 1
src/components/App.js

@@ -22,7 +22,6 @@ import { setView } from '../actions/viewActions'
 
 import { SONG_DETAILS, SONG_LIST, MOD_DETAILS, MODS_VIEW } from '../views'
 
-import '../sentry'
 import CrashMessage from './CrashMessage';
 
 const { ipcRenderer } = window.require('electron')

+ 0 - 2
src/sentry.js

@@ -1,2 +0,0 @@
-const { init } = window.require('@sentry/electron')
-init({ dsn: '***REMOVED***' })