fix: Add error message on initialization failed
This commit is contained in:
parent
e5360536f3
commit
b9db50de08
@ -77,7 +77,11 @@ export async function masterMain() {
|
|||||||
config = loadConfigBoot();
|
config = loadConfigBoot();
|
||||||
await connectDb();
|
await connectDb();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
bootLogger.error("Fatal error occurred during initialization", null, true);
|
bootLogger.error(
|
||||||
|
`Fatal error occurred during initialization: ${e}`,
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user