Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed formatting

  • Loading branch information...
commit 0ce5658f59f11dae27ce32a9d88a933d3e7ccd4c 1 parent 8fc09c1
@MiguelMadero authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/cluster/worker.js
View
5 lib/cluster/worker.js
@@ -78,10 +78,9 @@ Worker.prototype = new (function () {
utils.network.isPortOpen(port, hostname, function (isOpen) {
if (isOpen) {
- console.log("The port " + port + " is already in use.");
- // TODO: abort
+ self.log.error("The port " + port + " is already in use.");
}
- else{
+ else {
self.server.listen(port, hostname, function () {
self.log.info('Server worker running in ' + self.config.environment +
Please sign in to comment.
Something went wrong with that request. Please try again.