summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-04-20 09:20:40 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-04-24 13:15:50 +0100
commit69aed3a0ebb437828a04eb21df5dc4eecd1f2dee (patch)
tree941781db84e1cb470b15c95e874296c45d58e1c7 /app
parent9bb72e27a3407b7177f2c2aa6961c66c8d1ec687 (diff)
downloadmullvadvpn-69aed3a0ebb437828a04eb21df5dc4eecd1f2dee.tar.xz
mullvadvpn-69aed3a0ebb437828a04eb21df5dc4eecd1f2dee.zip
Fix debug logging call in _registerIpcListeners()
Diffstat (limited to 'app')
-rw-r--r--app/lib/backend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js
index 6f54b1b26e..941f73dc48 100644
--- a/app/lib/backend.js
+++ b/app/lib/backend.js
@@ -485,7 +485,8 @@ export class Backend {
this._ipc.registerStateListener(newState => {
const connectionState = this._securityStateToConnectionState(newState);
- log.debug('Got new state from backend ${newState}, translated to ${connectionState}');
+ log.debug(`Got new state from backend {state: ${newState.state}, \
+ target_state: ${newState.target_state}}, translated to '${connectionState}'`);
this._dispatchConnectionState(connectionState);
this.sync();
});