Disable telemetry
This commit is contained in:
parent
0f916280f6
commit
ef164b11ec
@ -29,7 +29,7 @@ const React = require('react')
|
||||
const ReactDOM = require('react-dom')
|
||||
|
||||
const config = require('../config')
|
||||
const telemetry = require('./lib/telemetry')
|
||||
// const telemetry = require('./lib/telemetry')
|
||||
const sound = require('./lib/sound')
|
||||
const TorrentPlayer = require('./lib/torrent-player')
|
||||
|
||||
@ -70,13 +70,13 @@ function onState (err, _state) {
|
||||
state = window.state = _state
|
||||
window.dispatch = dispatch
|
||||
|
||||
telemetry.init(state)
|
||||
// telemetry.init(state)
|
||||
sound.init(state)
|
||||
|
||||
// Log uncaught JS errors
|
||||
window.addEventListener(
|
||||
'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */
|
||||
)
|
||||
//window.addEventListener(
|
||||
// 'error', (e) => telemetry.logUncaughtError('window', e), true /* capture */
|
||||
//)
|
||||
|
||||
// Create controllers
|
||||
controllers = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user