Skip to content

Commit

Permalink
[fix] Restore self.warn method on monitor instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
AvianFlu committed Feb 29, 2012
1 parent 114e378 commit a0c9ac5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/forever/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit a0c9ac5

Please sign in to comment.