diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-06-20 15:34:40 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-03 13:37:54 +0200 |
| commit | 73840e98952dd3f7c005fcec44c971455da179eb (patch) | |
| tree | 15a887410858007a802450ad2870d8bf495dd16d /app/main.js | |
| parent | 67e82627564f8e4a2d8da4bcf5f0fd00867876bc (diff) | |
| download | mullvadvpn-73840e98952dd3f7c005fcec44c971455da179eb.tar.xz mullvadvpn-73840e98952dd3f7c005fcec44c971455da179eb.zip | |
Refactor IpcFacade to DaemonRpc and JsonRpcWs to JsonRpcTransport
Diffstat (limited to 'app/main.js')
| -rw-r--r-- | app/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/main.js b/app/main.js index 3a10f6808c..ee685e819c 100644 --- a/app/main.js +++ b/app/main.js @@ -163,7 +163,7 @@ const ApplicationMain = { ipcMain.on('daemon-connection', async (event) => { const addressFile = new RpcAddressFile(); - log.debug(`Reading the RPC connection info from "${addressFile.filePath}"`); + log.debug(`Waiting for RPC address file: "${addressFile.filePath}"`); try { await addressFile.waitUntilExists(); @@ -192,7 +192,7 @@ const ApplicationMain = { log.debug('Read RPC connection info', credentials.connectionString); - event.sender.send('daemon-connection', { credentials }); + event.sender.send('daemon-connection', credentials); } catch (error) { log.error(`Cannot parse the RPC address file: ${error.message}`); return; |
