Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Feb 5, 2020
1 parent 1267241 commit 7e17810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/device-connections-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class iProxy {
}
this.localServer.on('error', (e) => this.log.warn(e.message));
this.localServer.once('close', () => {
this.log.info(`The connection to ${this.udid} has been closed`);
this.localServer = null;
});

Expand Down

0 comments on commit 7e17810

Please sign in to comment.