Print errors during server startup

This commit is contained in:
Thor77 2022-06-10 20:53:56 +02:00
parent 185f0d5534
commit 2dd9b5891b
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ app.prepare()
if (err) throw err; if (err) throw err;
}); });
}) })
.catch(() => { .catch(err => {
console.log(err);
process.exit(1); process.exit(1);
}); });