mirror of
https://github.com/smartyellow/status.git
synced 2025-01-18 05:27:58 +00:00
Cleanup
This commit is contained in:
parent
f8676c4c13
commit
daf16a00b2
1
index.js
1
index.js
@ -194,7 +194,6 @@ module.exports = {
|
|||||||
server.error(message.error);
|
server.error(message.error);
|
||||||
}
|
}
|
||||||
else if (message.outage) {
|
else if (message.outage) {
|
||||||
console.log('outage', message.outage);
|
|
||||||
processOutage({ outage: message.outage, server, settings });
|
processOutage({ outage: message.outage, server, settings });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -24,8 +24,6 @@ async function processOutage({ outage, server, settings }) {
|
|||||||
.toArray();
|
.toArray();
|
||||||
const lastBeat = heartbeat[heartbeat.length - 1];
|
const lastBeat = heartbeat[heartbeat.length - 1];
|
||||||
|
|
||||||
console.log('lastbeat', lastBeat);
|
|
||||||
|
|
||||||
// Encountered an error while checking status
|
// Encountered an error while checking status
|
||||||
if (testResult.error) {
|
if (testResult.error) {
|
||||||
server.error('Error while checking status of ' + id);
|
server.error('Error while checking status of ' + id);
|
||||||
|
Loading…
Reference in New Issue
Block a user