aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 1cc29209e..a8bd25088 100644
--- a/server.ts
+++ b/server.ts
@@ -44,7 +44,7 @@ checkFFmpeg(CONFIG)
44 44
45checkNodeVersion() 45checkNodeVersion()
46 46
47import { checkConfig, checkActivityPubUrls } from './server/initializers/checker-after-init' 47import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init'
48 48
49const errorMessage = checkConfig() 49const errorMessage = checkConfig()
50if (errorMessage !== null) { 50if (errorMessage !== null) {
@@ -252,6 +252,9 @@ async function startApplication () {
252 process.exit(-1) 252 process.exit(-1)
253 }) 253 })
254 254
255 checkFFmpegVersion()
256 .catch(err => logger.error('Cannot check ffmpeg version', { err }))
257
255 // Email initialization 258 // Email initialization
256 Emailer.Instance.init() 259 Emailer.Instance.init()
257 260