mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
disable eslint for error dump
This commit is contained in:
parent
5743ed5434
commit
a9adfbc06d
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ import { getCommit } from "./utils/getCommit";
|
||||||
|
|
||||||
async function init() {
|
async function init() {
|
||||||
process.on("unhandledRejection", (error: any) => {
|
process.on("unhandledRejection", (error: any) => {
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
console.dir(error?.stack);
|
console.dir(error?.stack);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue