Skip to content

Commit 9837db4

Browse files
committed
console log to check what monitors are doing
1 parent 4b0edc8 commit 9837db4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/runner.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = class Runner {
3939
run(config, id, dataManager, eMailAlert, alertData, webHookAlert) {
4040
dataManager.lockNext(config.interval, id, (err, result) => {
4141
if(result) {
42+
console.log(`[${id}]`, 'polling', result.url, 'for', result.email, `(${result.state})`);
4243
this.currentData = result;
4344
this.monitor.poll(this.currentData.url);
4445
// remember number of pings per hours

0 commit comments

Comments
 (0)