From a0c9ac52d1d8c4a0b612d59ac629b43f00ac3839 Mon Sep 17 00:00:00 2001 From: Charlie McConnell Date: Wed, 29 Feb 2012 09:56:17 -0800 Subject: [PATCH] [fix] Restore self.warn method on monitor instance. --- lib/forever/monitor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/forever/monitor.js b/lib/forever/monitor.js index caff7bba..aad347c8 100644 --- a/lib/forever/monitor.js +++ b/lib/forever/monitor.js @@ -52,8 +52,7 @@ var Monitor = exports.Monitor = function (script, options) { this.childExists = false; this.checkFile = options.checkFile !== false; this.times = 0; - this.daemon = options.daemon || false; - + this.warn = console.error; // // Setup log files and logger for this instance. //