fix doFatalErrorCatch in monitors/utils.js

node-20
Moe 2023-08-28 12:27:36 -07:00
parent 29dcec2810
commit c1cdbb011e
1 changed files with 1 additions and 0 deletions

View File

@ -1295,6 +1295,7 @@ module.exports = (s,config,lang) => {
async function doFatalErrorCatch(e,d){
const groupKey = e.ke
const monitorId = e.mid || e.id
const activeMonitor = getActiveMonitor(groupKey,monitorId)
if(activeMonitor.isStarted === true){
const activeMonitor = getActiveMonitor(groupKey,monitorId)
activeMonitor.isStarted = false