]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/installer.ts
Disply other videos if screen >= 1300px
[github/Chocobozzz/PeerTube.git] / server / initializers / installer.ts
index 58713c2c415da6aa81044d1b9a4f474fd5f40950..d2f6c7c8c4f8ecbe6e506c66b941e414b5540e1b 100644 (file)
@@ -19,8 +19,8 @@ async function installApplication () {
     await createOAuthClientIfNotExist()
     await createOAuthAdminIfNotExist()
   } catch (err) {
-    logger.error('Cannot install application.', err)
-    throw err
+    logger.error('Cannot install application.', { err })
+    process.exit(-1)
   }
 }