Permalink
Browse files

fix state.error

  • Loading branch information...
1 parent 99fb405 commit 9cb87c5d0810137ea35ed6333fd72088e6611e9d @iloire committed Aug 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
View
@@ -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
);
}
});

0 comments on commit 9cb87c5

Please sign in to comment.