settings: Add option to toggle Error Reporting.

Adds an option to enable or disable sentry error
reporting under Advanced section in General Settings. 
Handles both main and renderer processes.

Also, changes the domain used to resolve proxy
in proxy-util from google.com to example.com.

Fixes #702.
This commit is contained in:
ViPuL
2019-05-15 15:00:23 +05:30
committed by Akash Nimare
parent b4073ba7ac
commit c6b7e9a9ee
5 changed files with 46 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ class ProxyUtil {
resolveSystemProxy(mainWindow) {
const page = mainWindow.webContents;
const ses = page.session;
const resolveProxyUrl = 'www.google.com';
const resolveProxyUrl = 'www.example.com';
// Check HTTP Proxy
const httpProxy = new Promise(resolve => {