We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5957f30 commit f519d8bCopy full SHA for f519d8b
src/index.ts
@@ -457,8 +457,12 @@ if (!amMainInstance) {
457
458
// Check we're happy using the default proxy settings: true if so, false if not.
459
const proxyCheck = getSystemProxy()
460
+ .catch((e) => {
461
+ reportError(e);
462
+ return undefined;
463
+ })
464
.then((proxyConfig) => {
- // If there's no proxy then the default settings are totally fine:
465
+ // If there's no proxy then using the default settings is totally fine:
466
if (!proxyConfig) return true;
467
468
// If the proxy is local, don't use it (this probably means HTTP Toolkit itself is the
0 commit comments