Skip to content

Commit

Permalink
add crashed event log
Browse files Browse the repository at this point in the history
closes #309
  • Loading branch information
Steve-Mcl committed Aug 27, 2024
1 parent 2eac1e8 commit fdef39e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ class Launcher {
info('Node-RED restart loop detected - stopping')
this.state = States.CRASHED
restart = false
await this.logAuditEvent('crashed', { info: { code: 'loop_detected', info: 'Node-RED restart loop detected' } })
await this.agent?.checkIn()
}
}
Expand Down

0 comments on commit fdef39e

Please sign in to comment.