]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/utils.ts
Fix last commit
[github/Chocobozzz/PeerTube.git] / server / helpers / utils.ts
index 7ff1556e3c1620f5aec997ff7c138ea90668c622..cfb4275703280bd87e8a968b19b7f49a4ca46b46 100644 (file)
@@ -144,7 +144,8 @@ let serverActor: ActorModel
 async function getServerActor () {
   if (serverActor === undefined) {
     const application = await ApplicationModel.load()
-    if (!application) throw Error('Could not application.')
+    if (!application) throw Error('Could not load Application from database.')
+
     serverActor = application.Account.Actor
   }