mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-07 20:17:02 +03:00
Another try at #372
This commit is contained in:
committed by
GitHub
parent
86e26025f4
commit
eaaf106d7c
@@ -8,6 +8,7 @@ import { getCommit } from "./utils/getCommit";
|
|||||||
async function init() {
|
async function init() {
|
||||||
process.on("unhandledRejection", (error: any) => {
|
process.on("unhandledRejection", (error: any) => {
|
||||||
console.dir(error?.stack);
|
console.dir(error?.stack);
|
||||||
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
await initDb();
|
await initDb();
|
||||||
|
|||||||
Reference in New Issue
Block a user