aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index f04e993f6..f4f448e6b 100644
--- a/server.ts
+++ b/server.ts
@@ -41,7 +41,12 @@ checkFFmpeg(CONFIG)
41 process.exit(-1) 41 process.exit(-1)
42 }) 42 })
43 43
44checkNodeVersion() 44try {
45 checkNodeVersion()
46} catch (err) {
47 logger.error('Error in NodeJS check.', { err })
48 process.exit(-1)
49}
45 50
46import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' 51import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init'
47 52