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 dd8698c commit 0514d8dCopy full SHA for 0514d8d
src/socket-daemon.js
@@ -233,7 +233,12 @@ export default class SocketDaemon extends Daemon {
233
headers: {
234
'Content-Type': 'text/plain; charset=utf-8'
235
}
236
- }).then(() => Promise.reject()); // We reject the promise because the daemon will be restarted, we need to continue looking for the port
+ }).then(() => Promise.reject()) // We reject the promise because the daemon will be restarted, we need to continue looking for the port
237
+ .catch(err => {
238
+ if (err.data && err.data.error && (err.data.error.indexOf('proxy') !== -1 || err.data.error.indexOf('dial tcp') !== -1)) {
239
+ this.error.next('proxy error');
240
+ }
241
+ })
242
243
244
/**
0 commit comments