We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ff015e + f631a0b commit a15d6dbCopy full SHA for a15d6db
lib/launcher.js
@@ -423,7 +423,11 @@ class Launcher {
423
const res = await got.head(pollUrl, opts)
424
statusCode = res.statusCode || 500
425
} catch (error) {
426
- this.logBuffer.add({ level: 'system', msg: `Node-RED health check failed: ${error.toString()} (${pollUrl})` })
+ if (this.state === States.STARTING) {
427
+ this.logBuffer.add({ level: 'system', msg: 'Node-RED health check: waiting for Node-RED to start' })
428
+ } else {
429
+ this.logBuffer.add({ level: 'system', msg: `Node-RED health check failed: ${error.toString()} (${pollUrl})` })
430
+ }
431
console.log('Failed to poll NR on ', pollUrl, error)
432
statusCode = error.response?.statusCode || 500
433
}
0 commit comments