remove extra console.error

This prevents all errors from being logged twice
This commit is contained in:
Feross Aboukhadijeh
2016-08-21 16:55:16 -07:00
parent 0589963eed
commit bf464de16f

View File

@@ -118,8 +118,6 @@ function getApproxNumTorrents (state) {
// An uncaught error happened in the main process or in one of the windows
function logUncaughtError (procName, err) {
console.error('uncaught error', procName, err)
// Not initialized yet? Ignore.
// Hopefully uncaught errors immediately on startup are fixed in dev
if (!telemetry) return