@ -273,7 +273,7 @@ class Monitor extends BeanModel {
retries = 0;
} catch (error) {
bean.status = DOWN;
bean.msg = error.message;
// If UP come in here, it must be upside down mode
@ -101,6 +101,7 @@ function validateMonitorChecks(res, checks, bean) {
throw new Error(`${bean.msg}, encountered unknown monitor_check.type`);
}
});
bean.status = UP;
module.exports = validateMonitorChecks;