watchmen icon indicating copy to clipboard operation
watchmen copied to clipboard

Better outage notification emails

Open iloire opened this issue 10 years ago • 1 comments

iloire avatar Jul 18 '15 21:07 iloire

We simply customize like this when outage happens: var error = JSON.parse(JSON.stringify(outage.error)); so, here we need to put some useful information when ping is failed, like this:

var error = {"code":"xxx", "message":err.message};
callback(error, "failed", "failed", time);

But this feature seems should be done in the plugin and ping-service projects?

zarzen avatar Dec 22 '15 04:12 zarzen