remove extra console.error
This prevents all errors from being logged twice
This commit is contained in:
@@ -118,8 +118,6 @@ function getApproxNumTorrents (state) {
|
|||||||
|
|
||||||
// An uncaught error happened in the main process or in one of the windows
|
// An uncaught error happened in the main process or in one of the windows
|
||||||
function logUncaughtError (procName, err) {
|
function logUncaughtError (procName, err) {
|
||||||
console.error('uncaught error', procName, err)
|
|
||||||
|
|
||||||
// Not initialized yet? Ignore.
|
// Not initialized yet? Ignore.
|
||||||
// Hopefully uncaught errors immediately on startup are fixed in dev
|
// Hopefully uncaught errors immediately on startup are fixed in dev
|
||||||
if (!telemetry) return
|
if (!telemetry) return
|
||||||
|
|||||||
Reference in New Issue
Block a user