mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Temp fix for script
This commit is contained in:
parent
880dc13e0c
commit
dd5d1373fb
@ -15,7 +15,7 @@ import * as path from "node:path";
|
|||||||
import { OnLoad } from "@spt/di/OnLoad";
|
import { OnLoad } from "@spt/di/OnLoad";
|
||||||
import { IHideoutProduction, IRequirement } from "@spt/models/eft/hideout/IHideoutProduction";
|
import { IHideoutProduction, IRequirement } from "@spt/models/eft/hideout/IHideoutProduction";
|
||||||
import { QuestRewardType } from "@spt/models/enums/QuestRewardType";
|
import { QuestRewardType } from "@spt/models/enums/QuestRewardType";
|
||||||
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||||
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
import { DatabaseServer } from "@spt/servers/DatabaseServer";
|
||||||
import { inject, injectAll, injectable } from "tsyringe";
|
import { inject, injectAll, injectable } from "tsyringe";
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ export class ProductionQuestsGenProgram {
|
|||||||
Container.registerPostLoadTypes(container, childContainer);
|
Container.registerPostLoadTypes(container, childContainer);
|
||||||
await childContainer.resolve<ProductionQuestsGen>("ProductionQuestsGen").run();
|
await childContainer.resolve<ProductionQuestsGen>("ProductionQuestsGen").run();
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
this.errorHandler.handleCriticalError(err instanceof Error ? err : new Error(err));
|
//this.errorHandler.handleCriticalError(err instanceof Error ? err : new Error(err));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Kill the process, something holds it open so we need to manually kill it
|
// Kill the process, something holds it open so we need to manually kill it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user