Skip to content

Commit

Permalink
fix state.error
Browse files Browse the repository at this point in the history
  • Loading branch information
iloire committed Aug 25, 2012
1 parent 99fb405 commit 9cb87c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ watchmen.on('service_error', function(service, state){
email_service.sendEmail(
service.alert_to,
service.url_info + ' is down!',
service.url_info + ' is down!. Reason: ' + error
service.url_info + ' is down!. Reason: ' + state.error
);
}
});
Expand Down

0 comments on commit 9cb87c5

Please sign in to comment.