diff --git a/lib/launcher.js b/lib/launcher.js index 5d38c5e..72d9cbe 100644 --- a/lib/launcher.js +++ b/lib/launcher.js @@ -424,6 +424,9 @@ class Launcher { timeout: { request: this.healthCheckInterval - 500 }, retry: { limit: 0 } } + if (this.settings.settings.disableEditor) { + opts.throwHttpErrors = false + } // Use a HEAD request to minimise data transfer const res = await got.head(pollUrl, opts) statusCode = res.statusCode || 500