Skip to content

Commit

Permalink
fix: fix default on-close logging
Browse files Browse the repository at this point in the history
  • Loading branch information
gjvis committed Jun 29, 2017
1 parent 13f7b6d commit 7ec2f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = ({ port = null, config = {}, filters = {} }) => {
close: done => {
logger.info('closing');
server.close();
io.destroy(done || (() => debug('closed')));
io.destroy(done || (() => logger.info('closed')));
},
};
};

0 comments on commit 7ec2f57

Please sign in to comment.