mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-12 06:27:10 +03:00
Safe navigation
This commit is contained in:
@@ -7,7 +7,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);
|
||||||
});
|
});
|
||||||
|
|
||||||
await initDb();
|
await initDb();
|
||||||
|
|||||||
Reference in New Issue
Block a user