diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:43:59 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-24 13:43:59 +0100 |
commit | 5a637488778055906dbacdca735565b2f46f0cf7 (patch) | |
tree | b23f369b875ed0d688738ae4e3268ccf24cd8276 /server.ts | |
parent | fe392059a8db1cbf112cc615a652998f2bd85378 (diff) | |
download | PeerTube-5a637488778055906dbacdca735565b2f46f0cf7.tar.gz PeerTube-5a637488778055906dbacdca735565b2f46f0cf7.tar.zst PeerTube-5a637488778055906dbacdca735565b2f46f0cf7.zip |
Node 10 is not supported anymore
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -41,7 +41,12 @@ checkFFmpeg(CONFIG) | |||
41 | process.exit(-1) | 41 | process.exit(-1) |
42 | }) | 42 | }) |
43 | 43 | ||
44 | checkNodeVersion() | 44 | try { |
45 | checkNodeVersion() | ||
46 | } catch (err) { | ||
47 | logger.error('Error in NodeJS check.', { err }) | ||
48 | process.exit(-1) | ||
49 | } | ||
45 | 50 | ||
46 | import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' | 51 | import { checkConfig, checkActivityPubUrls, checkFFmpegVersion } from './server/initializers/checker-after-init' |
47 | 52 | ||