mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
Safe navigation
This commit is contained in:
parent
4470f0b60b
commit
86e26025f4
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import { getCommit } from "./utils/getCommit";
|
|||
|
||||
async function init() {
|
||||
process.on("unhandledRejection", (error: any) => {
|
||||
console.dir(error.stack);
|
||||
console.dir(error?.stack);
|
||||
});
|
||||
|
||||
await initDb();
|
||||
|
|
Loading…
Reference in a new issue