diff --git a/lib/agent/plugins/control-panel/websockets/index.js b/lib/agent/plugins/control-panel/websockets/index.js index f75e7840f..8f4aa79c5 100644 --- a/lib/agent/plugins/control-panel/websockets/index.js +++ b/lib/agent/plugins/control-panel/websockets/index.js @@ -189,9 +189,9 @@ exports.startWebsocket = () => { if (proxy && workingWithProxy) { - const agent = new HttpsProxyAgent(urlModule.URL(proxy)); + const agent = new HttpsProxyAgent(proxy); options.agent = agent; - logger.debug('Setting up proxy'); + logger.info('Setting up proxy'); } gettingStatus = true; if (!(!ws || !ws.readyState || ws.readyState !== 1)) ws.terminate();